Skip to content

Commit e549ecf

Browse files
authored
remove bot token, and use secrets.GITHUB_TOKEN instead (#200)
* is symfembot still needed? * secrets.GITHUB_TOKEN
1 parent c08ac1d commit e549ecf

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/run-tests.yml

+1-11
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,5 @@ jobs:
2626
name: Run flake8 on tests
2727
- run: flake8 _tools/
2828
name: Run flake8 on tools
29-
- run: |
30-
TOKEN=${{ secrets.symfembot_token }}
31-
if [ -n "${TOKEN}" ]; then
32-
echo "token=${TOKEN}" >> ${GITHUB_OUTPUT}
33-
else
34-
echo "token=${{ github.token }}" >> ${GITHUB_OUTPUT}
35-
fi
36-
shell: bash
37-
name: Determine which token to use when running tests
38-
id: token
39-
- run: GITHUB_TOKEN=${{ steps.token.outputs.token }} python3 -m pytest _test/ --has-fenicsx 1
29+
- run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} python3 -m pytest _test/ --has-fenicsx 1
4030
name: Run tests

0 commit comments

Comments
 (0)