Skip to content

Commit

Permalink
remove secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
mchmarny committed May 15, 2023
1 parent 4770347 commit 262a7ed
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/on-push-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,3 @@ jobs:
with:
go-version: ^1.20.1
scan-severity: 'CRITICAL,HIGH,MEDIUM'
secrets:
access_token: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions .github/workflows/score.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.1.0
with:
persist-credentials: false
token: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
- name: "Run analysis"
uses: ossf/scorecard-action@80e868c13c90f172d68d1f4501dee99e2479f7af # v2.1.3
with:
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ on:
required: false
type: string
default: 'v1.52.2'
secrets:
access_token:
description: 'Workflow token'
required: true
permissions:
contents: read
jobs:
Expand All @@ -65,8 +61,6 @@ jobs:
${{ runner.os }}-go-
- name: Checkout Code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
token: ${{ secrets.access_token }}
- name: Tidy Modules
run: |
make tidy
Expand All @@ -91,8 +85,6 @@ jobs:
- run: go version
- name: Checkout Code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
token: ${{ secrets.access_token }}
- name: Tidy Modules
run: |
make tidy
Expand Down Expand Up @@ -139,8 +131,6 @@ jobs:
${{ runner.os }}-go-
- name: Checkout Code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
token: ${{ secrets.access_token }}
- name: Tidy Modules
run: |
make tidy
Expand Down Expand Up @@ -174,5 +164,4 @@ jobs:
# - name: Upload Report
# uses: github/codeql-action/upload-sarif@168b99b3c22180941ae7dbdd5f5c9678ede476ba # v2.11.6
# with:
# sarif_file: 'trivy-results.sarif'
# token: ${{ secrets.access_token }}
# sarif_file: 'trivy-results.sarif'

0 comments on commit 262a7ed

Please sign in to comment.