Skip to content

Commit

Permalink
remove bot token, and use secrets.GITHUB_TOKEN instead (#200)
Browse files Browse the repository at this point in the history
* is symfembot still needed?

* secrets.GITHUB_TOKEN
  • Loading branch information
mscroggs authored Nov 15, 2024
1 parent c08ac1d commit e549ecf
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,5 @@ jobs:
name: Run flake8 on tests
- run: flake8 _tools/
name: Run flake8 on tools
- run: |
TOKEN=${{ secrets.symfembot_token }}
if [ -n "${TOKEN}" ]; then
echo "token=${TOKEN}" >> ${GITHUB_OUTPUT}
else
echo "token=${{ github.token }}" >> ${GITHUB_OUTPUT}
fi
shell: bash
name: Determine which token to use when running tests
id: token
- run: GITHUB_TOKEN=${{ steps.token.outputs.token }} python3 -m pytest _test/ --has-fenicsx 1
- run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} python3 -m pytest _test/ --has-fenicsx 1
name: Run tests

0 comments on commit e549ecf

Please sign in to comment.