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

GH Actions: Bump peter-evans/create-pull-request from 6 to 7 #894

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 9, 2024

Bumps peter-evans/create-pull-request from 6 to 7.

Release notes

Sourced from peter-evans/create-pull-request's releases.

Create Pull Request v7.0.0

✨ Now supports commit signing with bot-generated tokens! See "What's new" below. ✍️🤖

Behaviour changes

  • Action input git-token has been renamed branch-token, to be more clear about its purpose. The branch-token is the token that the action will use to create and update the branch.
  • The action now handles requests that have been rate-limited by GitHub. Requests hitting a primary rate limit will retry twice, for a total of three attempts. Requests hitting a secondary rate limit will not be retried.
  • The pull-request-operation output now returns none when no operation was executed.
  • Removed deprecated output environment variable PULL_REQUEST_NUMBER. Please use the pull-request-number action output instead.

What's new

  • The action can now sign commits as github-actions[bot] when using GITHUB_TOKEN, or your own bot when using GitHub App tokens. See commit signing for details.
  • Action input draft now accepts a new value always-true. This will set the pull request to draft status when the pull request is updated, as well as on creation.
  • A new action input maintainer-can-modify indicates whether maintainers can modify the pull request. The default is true, which retains the existing behaviour of the action.
  • A new output pull-request-commits-verified returns true or false, indicating whether GitHub considers the signature of the branch's commits to be verified.

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v6.1.0...v7.0.0

Create Pull Request v6.1.0

✨ Adds pull-request-branch as an action output.

What's Changed

... (truncated)

Commits
  • 8867c4a fix: handle ambiguous argument failure on diff stat (#3312)
  • 6073f54 build(deps-dev): bump @​typescript-eslint/eslint-plugin (#3291)
  • 6d01b56 build(deps-dev): bump eslint-plugin-import from 2.29.1 to 2.30.0 (#3290)
  • 25cf845 build(deps-dev): bump @​typescript-eslint/parser from 7.17.0 to 7.18.0 (#3289)
  • d87b980 build(deps-dev): bump @​types/node from 18.19.46 to 18.19.48 (#3288)
  • 119d131 build(deps): bump peter-evans/create-pull-request from 6 to 7 (#3283)
  • 73e6230 docs: update readme
  • c0348e8 ci: add v7 to workflow
  • 4320041 feat: signed commits (v7) (#3057)
  • 0c2a66f build(deps-dev): bump ts-jest from 29.2.4 to 29.2.5 (#3256)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@jrfnl
Copy link
Member

jrfnl commented Sep 9, 2024

PR #897 is a pre-requisite for this PR to get a passing build. This PR will need to be rebased once #897 has been merged.

I've also added a separate commit to this PR to start taking advantage of features in the new version of the create-pull-request action runner.

GH Actions: update for new version of "Create Pull Request"

The "Create Pull Request" action has released a new major version.

I have verified that the workflows as they were would still work.

However, this new version also offers two relevant new features:

  • Signing commits.
    The PRs created by this actions are created by the github-actions[bot] user. Adding the sign-commits: true option will allow the bot to sign the commits based on the repo default GITHUB_TOKEN.
  • Setting draft to always-true.
    When changes are made to the "update website" workflow, a draft PR is opened to verify those changes don't negatively impact the workflow. This draft PR should never be merged, it is only for verification.
    Setting the draft option to always-true not just opens the PR as draft, but will ensure it will stay in draft if the PR would be updated (via the action).

Refs:

@jrfnl jrfnl added this to the 2.0.x Next milestone Sep 9, 2024
dependabot bot and others added 2 commits October 29, 2024 10:01
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@v6...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
The "Create Pull Request" action has released a new major version.

I have verified that the workflows as they were would still work.

However, this new version also offers two relevant new features:
* Signing commits.
    The PRs created by this actions are created by the `github-actions[bot]` user. Adding the `sign-commits: true` option will allow the bot to sign the commits based on the repo default `GITHUB_TOKEN`.
* Setting `draft` to `always-true`.
    When changes are made to the "update website" workflow, a draft PR is opened to verify those changes don't negatively impact the workflow. This draft PR should never be merged, it is only for verification.
    Setting the `draft` option to `always-true` not just opens the PR as draft, but will ensure it will stay in draft if the PR would be updated (via the action).

Refs:
* https://github.com/peter-evans/create-pull-request/releases/tag/v7.0.0
* https://github.com/peter-evans/create-pull-request/blob/v7.0.0/docs/concepts-guidelines.md#commit-signature-verification-for-bots
@jrfnl
Copy link
Member

jrfnl commented Oct 29, 2024

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 29, 2024

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@jrfnl jrfnl force-pushed the dependabot/github_actions/peter-evans/create-pull-request-7 branch from 4bf87b5 to a6657d8 Compare October 29, 2024 09:02
@schlessera schlessera merged commit 0dda92a into develop Oct 29, 2024
33 checks passed
@schlessera schlessera deleted the dependabot/github_actions/peter-evans/create-pull-request-7 branch October 29, 2024 09:15
@jrfnl jrfnl mentioned this pull request Oct 29, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants