Merge pull request #10928 from Homebrew/brewtestbot-commit-signing
workflows: enable commit signing for BrewTestBot
This commit is contained in:
commit
b15c6b1fce
7
.github/workflows/sorbet.yml
vendored
7
.github/workflows/sorbet.yml
vendored
@ -24,8 +24,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: BrewTestBot
|
username: BrewTestBot
|
||||||
|
|
||||||
|
- name: Set up commit signing
|
||||||
|
uses: Homebrew/actions/setup-commit-signing@master
|
||||||
|
with:
|
||||||
|
signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}
|
||||||
|
|
||||||
- name: Update RBI files
|
- name: Update RBI files
|
||||||
id: update
|
id: update
|
||||||
|
env:
|
||||||
|
GPG_PASSPHRASE: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY_PASSPHRASE }}
|
||||||
run: |
|
run: |
|
||||||
git fetch origin
|
git fetch origin
|
||||||
|
|
||||||
|
6
.github/workflows/spdx.yml
vendored
6
.github/workflows/spdx.yml
vendored
@ -21,11 +21,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: BrewTestBot
|
username: BrewTestBot
|
||||||
|
|
||||||
|
- name: Set up commit signing
|
||||||
|
uses: Homebrew/actions/setup-commit-signing@master
|
||||||
|
with:
|
||||||
|
signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}
|
||||||
|
|
||||||
- name: Update SPDX license data
|
- name: Update SPDX license data
|
||||||
id: update
|
id: update
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GPG_PASSPHRASE: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY_PASSPHRASE }}
|
||||||
run: |
|
run: |
|
||||||
git fetch origin
|
git fetch origin
|
||||||
|
|
||||||
|
6
.github/workflows/update-manpage.yml
vendored
6
.github/workflows/update-manpage.yml
vendored
@ -31,6 +31,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: BrewTestBot
|
username: BrewTestBot
|
||||||
|
|
||||||
|
- name: Set up commit signing
|
||||||
|
uses: Homebrew/actions/setup-commit-signing@master
|
||||||
|
with:
|
||||||
|
signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}
|
||||||
|
|
||||||
- name: Update maintainers, manpage and completions
|
- name: Update maintainers, manpage and completions
|
||||||
id: update
|
id: update
|
||||||
run: |
|
run: |
|
||||||
@ -65,6 +70,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
||||||
|
GPG_PASSPHRASE: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY_PASSPHRASE }}
|
||||||
|
|
||||||
- name: Push commits
|
- name: Push commits
|
||||||
if: steps.update.outputs.committed == 'true'
|
if: steps.update.outputs.committed == 'true'
|
||||||
|
6
.github/workflows/vendor-gems.yml
vendored
6
.github/workflows/vendor-gems.yml
vendored
@ -28,6 +28,10 @@ jobs:
|
|||||||
uses: Homebrew/actions/git-user-config@master
|
uses: Homebrew/actions/git-user-config@master
|
||||||
with:
|
with:
|
||||||
username: BrewTestBot
|
username: BrewTestBot
|
||||||
|
- name: Set up commit signing
|
||||||
|
uses: Homebrew/actions/setup-commit-signing@master
|
||||||
|
with:
|
||||||
|
signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}
|
||||||
- name: Check out pull request
|
- name: Check out pull request
|
||||||
id: checkout
|
id: checkout
|
||||||
run: |
|
run: |
|
||||||
@ -43,6 +47,7 @@ jobs:
|
|||||||
- name: Vendor Gems
|
- name: Vendor Gems
|
||||||
env:
|
env:
|
||||||
GEM_NAME: ${{ steps.checkout.outputs.gem_name }}
|
GEM_NAME: ${{ steps.checkout.outputs.gem_name }}
|
||||||
|
GPG_PASSPHRASE: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY_PASSPHRASE }}
|
||||||
run: |
|
run: |
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
@ -54,6 +59,7 @@ jobs:
|
|||||||
- name: Update RBI files
|
- name: Update RBI files
|
||||||
env:
|
env:
|
||||||
GEM_NAME: ${{ steps.checkout.outputs.gem_name }}
|
GEM_NAME: ${{ steps.checkout.outputs.gem_name }}
|
||||||
|
GPG_PASSPHRASE: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY_PASSPHRASE }}
|
||||||
run: |
|
run: |
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user