Skip to content

Commit

Permalink
VAULT-14696: Pin 3rd party actions (#21782)
Browse files Browse the repository at this point in the history
* use shas instead of versions and fix milestones

* remove trailing space
  • Loading branch information
miagilepner committed Jul 12, 2023
1 parent 702c521 commit bfa93fd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 23 deletions.
8 changes: 0 additions & 8 deletions .github/configs/milestone-check.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ jobs:
- test-go-race
steps:
- name: Download failure summary
uses: actions/download-artifact@v3
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: failure-summary
- name: Prepare failure summary
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/milestone-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,5 @@ jobs:
if: "!contains(github.event.pull_request.labels.*.name, 'pr/no-milestone')"
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
repository: "grafana/grafana-github-actions"
path: ./actions
ref: main
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run PR Checks
uses: ./actions/pr-checks
with:
token: ${{secrets.GITHUB_TOKEN}}
configPath: configs/milestone-check
- name: Check milestone
run: ${{ github.event.pull_request.milestone != null }}
2 changes: 1 addition & 1 deletion .github/workflows/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- if: github.event.pull_request != null && steps.changes.outputs.ui == 'true'
run: echo "PROJECT=171" >> "$GITHUB_ENV"

- uses: actions/add-to-project@v0.3.0 # TSCCR: no entry for repository "actions/add-to-project"
- uses: actions/add-to-project@a9f041ddd462ed185893ea1024cec954f50dbe42 # v0.3.0 # TSCCR: no entry for repository "actions/add-to-project"
with:
project-url: https://github.com/orgs/hashicorp/projects/${{ env.PROJECT }}
github-token: ${{ secrets.TRIAGE_GITHUB_TOKEN }}
Expand Down

0 comments on commit bfa93fd

Please sign in to comment.