Skip to content

Commit

Permalink
Merge pull request #4 from robinmordasiewicz/mkdocs-config-10
Browse files Browse the repository at this point in the history
chore(auto-pull-request.yml): add 'actions: write' permission and refactor steps for clarity The 'actions: write' permission is added to the workflow to ensure that the GitHub Actions have the necessary permissions to execute. The steps in the workflow are also refactored for better readability and understanding. The 'pull-request' step is renamed to 'auto-pull-request' to better reflect its purpose, and the 'checkout' step is rearranged for better logical flow.
  • Loading branch information
robinmordasiewicz authored Nov 19, 2023
2 parents 602c786 + 5615958 commit 89808b1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/auto-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:
contents: write
pull-requests: write
id-token: write
actions: write

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
Expand All @@ -23,10 +24,10 @@ jobs:
name: auto-pull-request
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
- name: pull-request
- name: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: auto-pull-request
uses: diillson/auto-pull-request@4cf50b3681cd76250f37841466e61e514a377064
with:
destination_branch: "main"
Expand Down

0 comments on commit 89808b1

Please sign in to comment.