Skip to content

Commit

Permalink
fix: remove reference to environment and secret (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewDolan authored Mar 18, 2024
1 parent ba53151 commit 34cfe05
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
upgrade-dep:
runs-on: ubuntu-latest
environment: upgrade action
steps:
- uses: actions/checkout@v3

Expand All @@ -24,7 +23,7 @@ jobs:

- name: create pull request
id: create-pull-request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
commit-message: "chore: ↗️ update dependencies"
title: "chore: ↗️ update dependencies"
Expand All @@ -33,12 +32,10 @@ jobs:
Auto-generated by a Github Action
branch: upgrade-dependencies
token: ${{ secrets.UPGRADE_GITHUB_TOKEN }}

- name: automerge pull request
if: steps.create-pull-request.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v2
uses: peter-evans/enable-pull-request-automerge@v3
with:
pull-request-number: ${{ steps.create-pull-request.outputs.pull-request-number }}
merge-method: squash
token: ${{ secrets.UPGRADE_GITHUB_TOKEN }}

0 comments on commit 34cfe05

Please sign in to comment.