Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/_update-self-references.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# This workflow uses a Personal Access Token instead of built-in GITHUB_TOKEN to create the pull request
# This is necessary because it commits changes to workflow files, which is not allowed with the default GITHUB_TOKEN.
# See example https://github.com/peter-evans/create-pull-request/issues/3558
# The PAT needs to have `contents: write` `pull-requests: write` and `workflows: write` permissions.

name: Update Self-References

on:
Expand Down Expand Up @@ -36,6 +41,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.EXERCISE_TOOLKIT_TOKEN }}
commit-message: "chore: update exercise-toolkit self-references to latest commit"
title: "chore: update exercise-toolkit self-references to latest commit"
body: |
Expand All @@ -50,8 +56,5 @@ jobs:
add-paths: |
.github/workflows/*.yml
draft: false
reviewers: |
FidelusAleksander
labels: |
skip-release-notes
maintenance