Skip to content

Commit

Permalink
🔄 synced local '.github/' with remote 'projects/mach-composer-plugin/…
Browse files Browse the repository at this point in the history
….github'
  • Loading branch information
1 parent c55495a commit fd58b6f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/dependabot-changie.yaml
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"
2 changes: 1 addition & 1 deletion .github/workflows/triage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
private-key: ${{ secrets.MCI_APP_PRIVATE_KEY }}
installation-id: ${{ secrets.MCI_APP_INSTALLATION_ID }}
- name: set to project board
uses: actions/add-to-project@v0.5.0
uses: actions/add-to-project@v1.0.1
with:
project-url: https://github.com/orgs/mach-composer/projects/3
github-token: ${{ steps.get-app-token.outputs.app-token }}

0 comments on commit fd58b6f

Please sign in to comment.