Restore Github PAT in record screenshots, disable Maestro for forks (#2147)
* Restore PAT for `recoverScreenshots.yml` flow. This is needed to trigger CI jobs automatically. In the case where this is not possible (forks) a message will be added to ask the user to add an empty commit to trigger the CI. * Add community PR notice * Disable Maestro steps for fork PRs
This commit is contained in:
parent
9c7dafbec1
commit
0381027dae
3 changed files with 37 additions and 2 deletions
3
.github/workflows/recordScreenshots.yml
vendored
3
.github/workflows/recordScreenshots.yml
vendored
|
|
@ -43,7 +43,8 @@ jobs:
|
|||
with:
|
||||
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
|
||||
- name: Record screenshots
|
||||
id: record
|
||||
run: ./.github/workflows/scripts/recordScreenshots.sh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue