Skip to content

Add pinact and zizmor workflow checks #46

Add pinact and zizmor workflow checks

Add pinact and zizmor workflow checks #46

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.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Fetch Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Create change file
uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
with:
version: latest
args: new --body "${{ github.event.pull_request.title }}" --kind Dependency
- uses: stefanzweifel/git-auto-commit-action@acbe8b15bfea3c08ecd23f3a982067a91e34533e # v7-next
with:
commit_message: "chore(deps): add changelog for dependabot updates"
commit_user_name: "dependabot[bot]"
commit_user_email: "dependabot[bot]@users.noreply.github.com"