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 broken GitHub Actions after switch to MAINTAINER_LIST #23640

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

justinretzolk
Copy link
Member

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates #23636

Output from acceptance testing: n/a, relates to GitHub Actions

Information

The linked Pull Request updated several GitHub Actions to use the new MAINTAINER_LIST secret to pull a list of users for an exclusion list. Unfortunately, this broke many of the workflows, so this PR aims to fix it.

There seems to be some inconsistencies, but the best I could tell, this is a result of using the secrets context in jobs.<job-id>.if definitions. Per the context availability docs this isn't supported (though it seemed to work on some Actions, so I'm still scratching my head a little).

Because of that, this PR introduces a top level env definition that evaluates the contains() block (the same way we were doing it in jobs.<job-id>.if previously) and then moves the conditional to jobs.<job-id>.steps.if, where env is supported.

@ewbankkit ewbankkit added the github_actions Pull requests that update Github_actions code label Mar 11, 2022
@justinretzolk justinretzolk merged commit 60cc297 into main Mar 11, 2022
@justinretzolk justinretzolk deleted the m-actions-fix branch March 11, 2022 22:16
@github-actions github-actions bot added this to the v4.6.0 milestone Mar 11, 2022
@github-actions
Copy link

This functionality has been released in v4.6.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

github-actions bot commented May 7, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
github_actions Pull requests that update Github_actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants