From f3f5c3504ebca01eae1b07113a1bdbee4589652d Mon Sep 17 00:00:00 2001 From: JaseMK Date: Tue, 26 Sep 2023 10:52:11 +0100 Subject: [PATCH] updates to GITHUB_TOKEN --- .github/workflows/reeco_initialize.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/reeco_initialize.yml b/.github/workflows/reeco_initialize.yml index c8ccbd3b..46aa19d6 100644 --- a/.github/workflows/reeco_initialize.yml +++ b/.github/workflows/reeco_initialize.yml @@ -27,7 +27,7 @@ jobs: if: steps.check_files.outputs.files_exists == 'true' id: split_repos env: - ACCESS_TOKEN: ${{ secrets.MY_TOKEN }} + ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git rm -r --ignore-unmatch --cached content while IFS= read -r line; do @@ -59,7 +59,7 @@ jobs: id: check_if_issue_exists with: repo: ${{secrets.MY_REPO}} - token: ${{ secrets.MY_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} title: missing repositories.txt labels: bug @@ -67,7 +67,7 @@ jobs: if: steps.check_files.outputs.files_exists == 'false' && steps.check_if_issue_exists.outputs.exists == 'false' uses: JasonEtco/create-an-issue@v2 env: - GITHUB_TOKEN: ${{ secrets.MY_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: filename: .github/initialize.md @@ -99,7 +99,7 @@ jobs: - name: commit and push report uses: Andro999b/push@v1.3 with: - github_token: ${{ secrets.MY_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} branch: main force: true message: new report - ${{ steps.date.outputs.date }} @@ -108,7 +108,7 @@ jobs: id: releases_zenodo run: python releases_zenodo.py env: - TOKEN: ${{ secrets.MY_TOKEN }} + TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: write release report file uses: "DamianReeves/write-file-action@master" @@ -120,7 +120,7 @@ jobs: - name: commit and push report uses: Andro999b/push@v1.3 with: - github_token: ${{ secrets.MY_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} branch: main force: true message: new release report - ${{ steps.date.outputs.date }}