Skip to content

Commit a170ab4

Browse files
authored
chore: sync with module template (#76)
Use our [Taskfile](https://github.com/masterpointio/taskit/blob/main/lib/os-modules/Taskfile.yaml) to sync our `.github` files to be consistent with the [module template repository workflows](https://github.com/masterpointio/terraform-module-template) This will address the pending checks here: #75 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated lint workflow to use `pull_request_target` trigger and inject `GITHUB_TOKEN` for improved linter support. - Modified release workflow to authenticate using a GitHub App token for the release process. - Simplified trunk upgrade workflow by automating PR merges with improved token usage and streamlined commands. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent b19e782 commit a170ab4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release-please.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ jobs:
1414
release-please:
1515
runs-on: ubuntu-latest
1616
steps:
17+
- name: Create Token for MasterpointBot App
18+
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a #v2.1.0
19+
id: generate-token
20+
with:
21+
app_id: ${{ secrets.MP_BOT_APP_ID }}
22+
private_key: ${{ secrets.MP_BOT_APP_PRIVATE_KEY }}
23+
1724
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f #v4.1.3
1825
with:
26+
token: ${{ steps.generate-token.outputs.token }}
1927
release-type: terraform-module

0 commit comments

Comments
 (0)