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

ci: pass required consul-k8s-workflows checks on CI skip #4144

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

zalimeni
Copy link
Member

@zalimeni zalimeni commented Jun 18, 2024

Unlike local job checks, these will not automatically be considered passing when skipped.

Follow-up to #4127 after enabling required checks for acceptance tests.

Changes proposed in this PR

  • Skip newly required acceptance test checks (set by consul-k8s-workflows) when skipping CI due to docs-only changes

How I've tested this PR

#4146 (PR based on this branch, with skipping always on regardless of changed files, since this PR changes files that will not be skipped):
image

How I expect reviewers to test this PR

👀

Checklist

@zalimeni zalimeni added backport/1.1.x Backport to release/1.1.x branch backport/1.3.x backport/1.4.x backport/1.5.x pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport signals that a PR will not contain a backport label labels Jun 18, 2024
@zalimeni zalimeni mentioned this pull request Jun 18, 2024
Unlike local job checks, these will not automatically be considered
passing when skipped.
@zalimeni zalimeni force-pushed the zalimeni/skip-ci-pass-required-checks branch from f945287 to 3084407 Compare June 18, 2024 21:11
@zalimeni zalimeni removed the pr/no-backport signals that a PR will not contain a backport label label Jun 18, 2024
@zalimeni zalimeni marked this pull request as ready for review June 18, 2024 21:16
Comment on lines +43 to +53
- name: Update final status
uses: docker://ghcr.io/curtbushko/commit-status-action:e1d661c757934ab35c74210b4b70c44099ec747a
env:
INPUT_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
INPUT_REPOSITORY: ${{ github.repository }}
INPUT_CONTEXT: ${{ matrix.check-name }}
INPUT_STATE: success
INPUT_DESCRIPTION: "Skipped due to conditional-skip check"
INPUT_SHA: ${{ env.SHA }}
INPUT_DETAILS_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
INPUT_OWNER: "hashicorp"
Copy link
Member Author

@zalimeni zalimeni Jun 18, 2024

Choose a reason for hiding this comment

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

This is basically the same as consul-k8s-workflows, tweaked to clarify that we're skipping and using all the same data we'd normally pass via inputs above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.1.x Backport to release/1.1.x branch backport/1.3.x backport/1.4.x backport/1.5.x pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants