Skip to content

Commit

Permalink
Try setting github token differently
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoinePrv committed Oct 30, 2023
1 parent f6cb72b commit a4e29c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/actions/workspace/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ inputs:
required: true
key:
required: true
default: ${{github.workflow}}-${{ runner.os }}-${{ github.sha }}
default: ${{ github.workflow }}-${{ runner.os }}-${{ github.sha }}
token:
required: false
default: ${{ github.token }}

runs:
using: "composite"
Expand All @@ -36,6 +39,6 @@ runs:
if: ${{ inputs.action == 'delete' }}
shell: bash
env:
GITHUB_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ inputs.token }}
run:
gh cache delete '${{ inputs.key }}'
1 change: 0 additions & 1 deletion .github/workflows/unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ jobs:
needs: ["libmamba_tests_unix"]
runs-on: ubuntu-latest
if: always()
permissions: write-all
steps:
- name: Checkout mamba repository
uses: actions/checkout@v3
Expand Down

0 comments on commit a4e29c9

Please sign in to comment.