ci: update check for changeset workflow with local bash script#8084
ci: update check for changeset workflow with local bash script#8084Copilot wants to merge 10 commits into
Conversation
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
|
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
joshblack
left a comment
There was a problem hiding this comment.
The failure-message should be a comment on the Pull Request (and make sure to re-use one if it already exists instead of always making a new one)
|
@copilot The failure-message should be a comment on the Pull Request (and make sure to re-use one if it already exists instead of always making a new one) |
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Closes #
Recreates the changed-files changeset guard as a local GitHub Action and updates the changeset workflow to use it instead of
brettcannon/check-for-changed-files@v1. The workflow now grants explicit read-only permissions and passesgithub.tokento the local action for listing PR files.The upstream workflow hasn't been updated for a little bit so this helps us prevent using outdated actions (was seeing the Node.js warning which is what prompted this)
Changelog
New
.github/actions/check-for-changed-filesGitHub Action.Changed
.github/workflows/check_for_changeset.ymlto use the local action instead of the external action.Removed
brettcannon/check-for-changed-files@v1.Rollout strategy
Testing & Reviewing
npm install,npm run build,npm test -- --run,npm run type-check,npm run lint,npm run lint:css,npm run format:diffnode --check .github/actions/check-for-changed-files/index.js,npx eslint .github/actions/check-for-changed-files/index.js --max-warnings=0 --cache,npm run build,npm test -- --run,npm run type-check,npm run lint,npm run lint:css,npm run format:diffMerge checklist