Skip to content

Commit 88025c9

Browse files
committed
add some auth
1 parent 2fe6cd9 commit 88025c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/conda_cron.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
working-directory: openfe_repo
4242
run: |
4343
REPO="${{ github.repository }}"
44-
VERSION=$(curl -s "https://api.github.com/repos/$REPO/releases/latest" | jq -r '.tag_name | ltrimstr("v")')
44+
VERSION=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
45+
"https://api.github.com/repos/$REPO/releases/latest" | jq -r '.tag_name | ltrimstr("v")')
4546
echo $VERSION
4647
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
4748

0 commit comments

Comments
 (0)