-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: configuring workflows and release-please init
- Loading branch information
1 parent
0435057
commit 20c8f27
Showing
9 changed files
with
73 additions
and
50 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# triggers on merge_group and pull_request events | ||
# only use this if merge queue is enabled, otherwise stick to test-command for e2e testing | ||
|
||
name: pr-merge-group | ||
on: | ||
merge_group: | ||
types: [checks_requested] | ||
pull_request: | ||
|
||
defaults: | ||
run: | ||
shell: bash -eo pipefail {0} | ||
|
||
permissions: | ||
id-token: write # needed for oidc auth for AWS creds | ||
contents: read | ||
|
||
jobs: | ||
pr-merge-group-test: | ||
uses: defenseunicorns/delivery-github-actions-workflows/.github/workflows/pr-merge-group-test.yml@main | ||
secrets: | ||
APPLICATION_ID: ${{ secrets.NARWHAL_BOT_APP_ID }} | ||
APPLICATION_PRIVATE_KEY: ${{ secrets.NARWHAL_BOT_SECRET }} | ||
AWS_COMMERCIAL_ROLE_TO_ASSUME: ${{ secrets.NARWHAL_AWS_COMMERCIAL_ROLE_TO_ASSUME }} | ||
AWS_GOVCLOUD_ROLE_TO_ASSUME: ${{ secrets.NARWHAL_AWS_GOVCLOUD_ROLE_TO_ASSUME }} |
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
32 changes: 32 additions & 0 deletions
32
.github/workflows/pull-request-opened-by-renovate copy.yml
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# If Renovate is not the author of the PR that triggers this workflow, it will do nothing. | ||
# If Renovate is the author of the PR that triggers this workflow, but the workflow event is anything but "opened", it will do nothing. | ||
# If Renovate is the author of the PR that triggers this workflow, and the workflow event is "opened", it will: | ||
# 1. Autoformat using pre-commit and, if necessary, push an additional commit to the PR with the autoformat fixes. | ||
# 2. Add the "/test all" comment to the PR, so that the Slash Command Dispatch workflow is triggered automatically. | ||
# | ||
# See ADR #0008. | ||
name: auto-test | ||
on: | ||
pull_request: | ||
# WARNING: DO NOT ADD MORE EVENT TYPES HERE! Because this workflow will push a new commit to the PR in the Autoformat step, adding more event types may cause an infinite loop. | ||
types: | ||
- opened | ||
|
||
permissions: | ||
id-token: write | ||
contents: write | ||
|
||
defaults: | ||
run: | ||
# We need -e -o pipefail for consistency with GitHub Actions' default behavior | ||
shell: bash -e -o pipefail {0} | ||
|
||
jobs: | ||
renovate-test: | ||
if: github.event.client_payload.github.actor == 'renovate[bot]' || github.actor == 'renovate[bot]' | ||
uses: defenseunicorns/delivery-github-actions-workflows/.github/workflows/renovate-test.yml@main | ||
secrets: | ||
APPLICATION_ID: ${{ secrets.NARWHAL_BOT_APP_ID }} | ||
APPLICATION_PRIVATE_KEY: ${{ secrets.NARWHAL_BOT_SECRET }} | ||
AWS_COMMERCIAL_ROLE_TO_ASSUME: ${{ secrets.NARWHAL_AWS_COMMERCIAL_ROLE_TO_ASSUME }} | ||
AWS_GOVCLOUD_ROLE_TO_ASSUME: ${{ secrets.NARWHAL_AWS_GOVCLOUD_ROLE_TO_ASSUME }} |
This file was deleted.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
{} | ||
{ | ||
".": "0.0.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