Pass GITHUB_TOKEN to Cypress workflows, revert back to on "push"

This commit is contained in:
wiz 2021-07-27 01:48:53 +09:00
parent cedd94c654
commit 41aa1248be
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -1,6 +1,6 @@
name: Cypress Tests
on: [pull_request]
on: [push]
jobs:
cypress-chrome:
@ -20,7 +20,7 @@ jobs:
browser: chrome
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
#GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
DEBUG: 'cypress:*'
cypress-firefox:
@ -43,7 +43,7 @@ jobs:
browser: firefox
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
#GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
DEBUG: 'cypress:*'
cypress-edge:
@ -63,6 +63,6 @@ jobs:
browser: edge
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
#GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
DEBUG: 'cypress:*'