mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-16 16:39:53 +08:00
Update workflow files to run workflows in the context of master (#8728)
This commit is contained in:
@@ -31,7 +31,9 @@ jobs:
|
||||
# Checkout master branch of Teleport repository. This is to prevent an
|
||||
# attacker from submitting their own review assignment logic.
|
||||
- name: Checkout master branch
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: master
|
||||
- name: Installing the latest version of Go.
|
||||
uses: actions/setup-go@v2
|
||||
# Run "assign-reviewers" subcommand on bot.
|
||||
|
||||
@@ -34,7 +34,9 @@ jobs:
|
||||
# Checkout master branch of Teleport repository. This is to prevent an
|
||||
# attacker from submitting their own review assignment logic.
|
||||
- name: Checkout master branch
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: master
|
||||
- name: Installing the latest version of Go.
|
||||
uses: actions/setup-go@v2
|
||||
# Run "check-reviewers" subcommand on bot.
|
||||
|
||||
@@ -33,7 +33,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout master branch
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: master
|
||||
- name: Installing the latest version of Go.
|
||||
uses: actions/setup-go@v2
|
||||
# Run "dismiss-runs" subcommand on bot.
|
||||
|
||||
Reference in New Issue
Block a user