File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,20 @@ jobs:
3131 # git stashing if no material changes allows the next step to close the PR if one is already open
3232 run : if [ "$(git diff --numstat | grep -vc '^1\s.*datasetsite\.mustache\|1\s.*datasetsite-csp\.mustache\|.*datasetsite-csp\.static\.zip$')" -eq "0" ]; then git stash; else echo "Material changes found"; fi
3333 working-directory : ./
34-
34+
35+ - name : Generate GitHub App Token
36+ uses : actions/create-github-app-token@v1
37+ id : generate-token
38+ with :
39+ app-id : ${{ secrets.GH_APP_ID }}
40+ private-key : ${{ secrets.GH_APP_PRIVATE_KEY }}
41+
3542 - name : Create Pull Request
3643 id : cpr
3744 uses : peter-evans/create-pull-request@v7
3845 with :
3946 path : ./
40- token : ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
47+ token : ${{ steps.generate-token.outputs.token }}
4148 commit-message : Update dataset site template
4249 committer : openactive-bot <openactive-bot@users.noreply.github.com>
4350 author : openactive-bot <openactive-bot@users.noreply.github.com>
You can’t perform that action at this time.
0 commit comments