Skip to content

Commit

Permalink
updates to GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
JaseMK committed Sep 26, 2023
1 parent d8f3bd6 commit f3f5c35
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/reeco_initialize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -59,15 +59,15 @@ 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

- name: repositories.txt and issue do not exist, create an issue
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

Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
- name: commit and push report
uses: Andro999b/[email protected]
with:
github_token: ${{ secrets.MY_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
force: true
message: new report - ${{ steps.date.outputs.date }}
Expand All @@ -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"
Expand All @@ -120,7 +120,7 @@ jobs:
- name: commit and push report
uses: Andro999b/[email protected]
with:
github_token: ${{ secrets.MY_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
force: true
message: new release report - ${{ steps.date.outputs.date }}
Expand Down

0 comments on commit f3f5c35

Please sign in to comment.