Skip to content

Commit

Permalink
Fix token usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Oct 7, 2024
1 parent 47e5824 commit 7b6540a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/concretize-current-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: GH_TOKEN
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: echo "GITHUB_TOKEN=${GH_TOKEN}" >> $GITHUB_ENV

- name: Start container
run: |
name=$(echo "${{ github.event.repository.name }}" | tr '[:upper:]' '[:lower:]')
Expand All @@ -39,8 +33,12 @@ jobs:
fi
- name: Setup environment and concretize
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export GITHUB_TOKEN=${GH_TOKEN}
cat <<'EOF' > ${GITHUB_WORKSPACE}/script_container.sh
set -e
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/concretize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ jobs:
fi
- name: Setup environment and concretize
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export GITHUB_TOKEN=${GH_TOKEN}
cat <<'EOF' > ${GITHUB_WORKSPACE}/script_container.sh
set -e
Expand Down

0 comments on commit 7b6540a

Please sign in to comment.