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

Run commit signing checks on pull_request_target #270

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

sajith
Copy link
Member

@sajith sajith commented Jan 8, 2024

1Password/check-signed-commits-action@v1 is designed to be used with pull_request_target or pull_request events, with the former preferred. It fails on push events, such as when a PR is merged. Here's an example of such a failure:

https://github.com/fabric-testbed/fabrictestbed-extensions/actions/runs/7400337712/job/20133749344

Also sneaks in a changelog sub-title change because of the recent release. :-)

@sajith sajith added the no changelog Causes to skip changelog checks in "checks" workflow label Jan 8, 2024
@sajith sajith self-assigned this Jan 8, 2024
@coveralls
Copy link
Collaborator

coveralls commented Jan 8, 2024

Pull Request Test Coverage Report for Build 7451197051

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 19.931%

Totals Coverage Status
Change from base Build 7400337711: 0.0%
Covered Lines: 973
Relevant Lines: 4338

💛 - Coveralls

sajith added 2 commits January 8, 2024 11:38
"Code checks" action did not run at all on a PR with the previous
commit, and now I am confused about pull_request_target. Perhaps this
event is triggered only in the case of when there's "forked"
repository?

https://stackoverflow.com/questions/74957218/what-is-the-difference-between-pull-request-and-pull-request-target-event-in-git
https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/
@sajith sajith marked this pull request as ready for review January 8, 2024 17:51
@sajith sajith requested a review from kthare10 January 8, 2024 17:51
Copy link
Collaborator

@kthare10 kthare10 left a comment

Choose a reason for hiding this comment

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

Looks good!

@sajith sajith merged commit d12ec20 into main Jan 8, 2024
13 checks passed
@sajith sajith deleted the 268.commit-signing-check-on-pr branch January 8, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Causes to skip changelog checks in "checks" workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants