forked from contentful-labs/terraform-contentful
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔄 synced local '.github/' with remote 'projects/go-terraform-provider…
…/.github'
- Loading branch information
1 parent
43cb64c
commit db1bf3f
Showing
1 changed file
with
36 additions
and
0 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,36 @@ | ||
name: Dependabot add changie file | ||
on: | ||
pull_request: | ||
types: [opened] | ||
|
||
permissions: | ||
pull-requests: write | ||
issues: write | ||
repository-projects: write | ||
contents: write | ||
|
||
jobs: | ||
dependabot-changie: | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Fetch Dependabot metadata | ||
id: dependabot-metadata | ||
uses: dependabot/fetch-metadata@v2 | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Create change file | ||
uses: miniscruff/changie-action@v2 | ||
with: | ||
version: latest | ||
args: new --body "${{ github.event.pull_request.title }}" --kind Dependency | ||
|
||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "chore(deps): add changelog for dependabot updates" | ||
commit_user_name: "dependabot[bot]" | ||
commit_user_email: "dependabot[bot]@users.noreply.github.com" |