forked from github/plane
fix: adding token to the build pr workflow (#3254)
* fix: adding token to the build pr workflow * fix: using automatic github token
This commit is contained in:
parent
eabb31a764
commit
37fe9a185c
10
.github/workflows/build-test-pull-request.yml
vendored
10
.github/workflows/build-test-pull-request.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: Build Pull Request Contents
|
name: Build Pull Request Contents
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: ["opened", "synchronize"]
|
types: ["opened", "synchronize"]
|
||||||
|
|
||||||
@ -14,13 +14,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository to Actions
|
- name: Checkout Repository to Actions
|
||||||
uses: actions/checkout@v3.3.0
|
uses: actions/checkout@v3.3.0
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Setup Node.js 18.x
|
- name: Setup Node.js 18.x
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: 'yarn'
|
cache: "yarn"
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v38
|
uses: tj-actions/changed-files@v38
|
||||||
@ -44,5 +46,3 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
yarn
|
yarn
|
||||||
yarn build --filter=space
|
yarn build --filter=space
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user