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:
sriram veeraghanta 2023-12-26 18:13:13 +05:30 committed by GitHub
parent eabb31a764
commit 37fe9a185c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
name: Build Pull Request Contents
on:
on:
pull_request:
types: ["opened", "synchronize"]
@ -14,13 +14,15 @@ jobs:
steps:
- name: Checkout Repository to Actions
uses: actions/checkout@v3.3.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
cache: 'yarn'
cache: "yarn"
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v38
@ -44,5 +46,3 @@ jobs:
run: |
yarn
yarn build --filter=space