-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Set persist-credentials to false on checkout action"
- Loading branch information
1 parent
2be16ae
commit 293fa2b
Showing
11 changed files
with
1 addition
and
42 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ env.BASE_REF }} | ||
token: ${{ secrets.HURL_BOT_TOKEN }} | ||
fetch-depth: 0 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,6 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
- name: Auto close inactive PR | ||
run: .github/workflows/bin/auto-close-inactive-pr.sh --github-project-path "${REPO}" --github-token "${GITHUB_TOKEN}" --max-days-of-inactivity 15 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
|
||
- name: Shellcheck | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,6 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Install Prerequisites | ||
run: bin/install_prerequisites_ubuntu.sh | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 1 | ||
ref: ${{ github.event.inputs.set-release-version }} | ||
- name: Check if branch is a published release | ||
|
@@ -53,7 +52,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 1 | ||
ref: ${{ github.event.inputs.set-release-version }} | ||
- name: Push to chocolatey | ||
|
@@ -71,7 +69,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 1 | ||
ref: ${{ github.event.inputs.set-release-version }} | ||
- name: Push to winget | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install prerequisites | ||
run: bin/install_prerequisites_ubuntu.sh | ||
|
@@ -65,7 +64,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
|
@@ -115,7 +113,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Retrieve release-generic-linux-x64-artifacts | ||
uses: actions/[email protected] | ||
|
@@ -169,7 +166,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Retrieve release-generic-linux-x64-artifacts | ||
uses: actions/[email protected] | ||
|
@@ -221,7 +217,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Retrieve release-generic-linux-x64-artifacts | ||
uses: actions/[email protected] | ||
|
@@ -273,7 +268,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Retrieve release-generic-linux-x64-artifacts | ||
uses: actions/[email protected] | ||
|
@@ -327,7 +321,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
@@ -399,7 +392,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Prerequisites | ||
run: bin/install_prerequisites_ubuntu.sh | ||
|
@@ -451,7 +443,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Prerequisites | ||
run: | | ||
|
@@ -501,7 +492,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Prerequisites | ||
run: | | ||
|
@@ -557,7 +547,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Rust | ||
run: | | ||
|
@@ -617,7 +606,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- uses: actions/[email protected] | ||
with: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,8 +54,6 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Check release pull request existence | ||
id: check-release-pull-request-existence | ||
|
@@ -172,8 +170,6 @@ jobs: | |
- name: Checkout repository | ||
if: github.ref_name == 'master' | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Create release branch | ||
if: github.ref_name == 'master' | ||
|
@@ -191,7 +187,6 @@ jobs: | |
- name: Checkout new release branch | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ needs.set-context.outputs.release_branch }} | ||
|
||
- name: Check CHANGELOG | ||
|
@@ -298,7 +293,6 @@ jobs: | |
- name: Checkout new release branch | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ needs.set-context.outputs.release_branch }} | ||
|
||
- name: Init git bot context | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Prerequisites | ||
run: bin/install_prerequisites_ubuntu.sh | ||
|
@@ -55,7 +54,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Rust | ||
run: bin/install_rust.sh | ||
|
@@ -77,7 +75,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Prerequisites | ||
run: bin/install_prerequisites_ubuntu.sh | ||
|
@@ -122,7 +119,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Prerequisites | ||
run: bin/install_prerequisites_ubuntu.sh | ||
|
@@ -164,7 +160,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Build, Test units and Integration tests | ||
uses: addnab/docker-run-action@v3 | ||
|
@@ -206,7 +201,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Build, Test units and Integration tests | ||
uses: addnab/docker-run-action@v3 | ||
|
@@ -255,7 +249,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Build, Test units and Integration tests | ||
uses: addnab/docker-run-action@v3 | ||
|
@@ -306,7 +299,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Prerequisites | ||
run: | | ||
|
@@ -355,7 +347,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Prerequisites | ||
run: | | ||
|
@@ -407,7 +398,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
- name: Install Rust | ||
run: | | ||
|
@@ -449,8 +439,7 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
ref: ${{ inputs.branch }} | ||
- name: Setup wsl Ubuntu | ||
uses: Vampire/[email protected] | ||
with: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: master | ||
token: ${{ secrets.HURL_BOT_TOKEN }} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.branch }} | ||
|
||
- name: Init bot branch name | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: master | ||
|
||
- name: Crates update | ||
|