chore(docs): add environment variables support for secret and token #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Acceptance Tests | |
on: | |
pull_request: | |
types: [ labeled ] | |
jobs: | |
test: | |
if: ${{ github.event.label.name == 'testacc' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Acceptance Tests | |
run: make testacc | |
env: | |
CC_OAUTH_TOKEN: ${{ secrets.CC_OAUTH_TOKEN }} | |
CC_OAUTH_SECRET: ${{ secrets.CC_OAUTH_SECRET }} | |
ORGANISATION: ${{ secrets.ORGANISATION }} | |
... |