Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix action manifest validation error #77

Merged
merged 1 commit into from
May 10, 2024
Merged

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented May 10, 2024

The action manifest used the id slack for two steps, which is not allowed. We don't reference this id anywhere, so it has been removed.

The action manifest used the id `slack` for two steps, which is not
allowed. We don't reference this id anywhere, so it has been removed.
@Gudahtt Gudahtt requested a review from a team as a code owner May 10, 2024 20:52
@Gudahtt
Copy link
Member Author

Gudahtt commented May 10, 2024

Here is an example of the error that this is meant to fix: https://github.com/MetaMask/core/actions/runs/9037847000/job/24837895733

Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

@Gudahtt Gudahtt merged commit c92e153 into main May 10, 2024
12 checks passed
@Gudahtt Gudahtt deleted the remove-duplicate-id branch May 10, 2024 20:55
@Gudahtt Gudahtt mentioned this pull request May 10, 2024
Gudahtt added a commit that referenced this pull request May 10, 2024
The action manifest used the id `slack` for two steps, which is not
allowed. We don't reference this id anywhere, so it has been removed.
Gudahtt added a commit that referenced this pull request May 10, 2024
* origin/v4.0.x:
  Release 4.0.4 (#78)
  fix: Fix action manifest validation error (#77)
Gudahtt added a commit that referenced this pull request May 10, 2024
* Don't fail overall if Slack announcement fails (#69)

Typically, for a project, this action is run twice: once in dry-run mode
(to allow approvers to review the package before it is published) and
another time to issue the approval step and then actually publish the
package.

When the action is run in dry-run mode, an announcement on Slack is
created in order to notify approvers. If this fails in any way, however,
it halts the release workflow completely and prevents the second
instance of the action from running. This means that the package can
never be released automatically and must be released manually.

This commit fix this problem by instructing GitHub Actions that it is
not mandatory for the Slack announcement step to pass in order for the
release workflow to continue.

* Release 4.0.2 (#72)

* remove default channel (#73)

* Release 4.0.3

* fix: Fix action manifest validation error (#77)

The action manifest used the id `slack` for two steps, which is not
allowed. We don't reference this id anywhere, so it has been removed.

* Release 4.0.4 (#78)

---------

Co-authored-by: Elliot Winkler <[email protected]>
Co-authored-by: ricky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants