Provide an input for github tokens (#172)

* Provide an input for github tokens

- By providing an input for github tokens with a default users no longer have to pass
  the github token via their environment across workflows.
- Remove GITHUB_TOKEN from our environment in all workflows

* Don't run workflows on main on pull requests

Co-authored-by: Paulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>
This commit is contained in:
Bryan Paxton
2023-01-06 10:14:27 -06:00
committed by GitHub
parent 81d8403713
commit e3f6ffe287
7 changed files with 22 additions and 21 deletions
+1 -5
View File
@@ -6,11 +6,7 @@ on:
branches:
- main
pull_request:
branches:
- main
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
types: [opened, synchronize]
jobs:
integration_test: