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
11 changes: 9 additions & 2 deletions .github/workflows/create-dataset-site-template-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,20 @@ jobs:
# git stashing if no material changes allows the next step to close the PR if one is already open
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
working-directory: ./


- name: Generate GitHub App Token
uses: actions/create-github-app-token@v1
id: generate-token
with:
app-id: ${{ secrets.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
with:
path: ./
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
token: ${{ steps.generate-token.outputs.token }}
commit-message: Update dataset site template
committer: openactive-bot <openactive-bot@users.noreply.github.com>
author: openactive-bot <openactive-bot@users.noreply.github.com>
Expand Down