diff --git a/.github/workflows/build_Editor.yml b/.github/workflows/build_Editor.yml index 00b22e3..c1b773d 100644 --- a/.github/workflows/build_Editor.yml +++ b/.github/workflows/build_Editor.yml @@ -13,13 +13,13 @@ jobs: runs-on: ubuntu-latest steps: # Checks-out the repository under $GITHUB_WORKSPACE, so the job can access it - - uses: actions/checkout@master + - uses: actions/checkout@v2 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token fetch-depth: 0 # otherwise, you will failed to push refs to dest repo # set up NodeJS - - uses: actions/setup-node@master + - uses: actions/setup-node@main - name: Install project dependencies run: npm install diff --git a/.github/workflows/refresh_Editor_ATTCK_data.yml b/.github/workflows/refresh_Editor_ATTCK_data.yml index 8a7fdda..c6a65b2 100644 --- a/.github/workflows/refresh_Editor_ATTCK_data.yml +++ b/.github/workflows/refresh_Editor_ATTCK_data.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@master + - uses: actions/checkout@v2 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token fetch-depth: 0 # otherwise, you will failed to push refs to dest repo