Skip to content

chore(deps): update module github.com/docker/docker-credential-helper… #73

chore(deps): update module github.com/docker/docker-credential-helper…

chore(deps): update module github.com/docker/docker-credential-helper… #73

---
name: Update Changelog
on:
push:
branches:
- main
paths-ignore:
- CHANGELOG.md
workflow_dispatch:
permissions:
contents: read # Set default read-only permissions
jobs:
changelog:
runs-on: ubuntu-latest
permissions:
contents: write # For committing changelog
pull-requests: write # For creating PR
steps:
- name: Harden the Runner (Step Security)
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- name: Checkout Repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
persist-credentials: false
- name: Generate Changelog
uses: orhun/git-cliff-action@f50e11560dce63f7c33227798f90b924471a88b5 # v4.8.0
env:
OUTPUT: CHANGELOG.md
GITHUB_REPO: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
config: cliff.toml
args: --verbose
- name: Create Pull Request for Changelog
id: create_pr
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: docs/update-changelog
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
sign-commits: true
title: "docs(changelog): update changelog"
commit-message: "docs(changelog): update changelog"
body: "Automated changelog update"
delete-branch: true
- name: Enable auto-merge
if: "${{ steps.create_pr.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PULL_REQUEST_NUMBER: ${{ steps.create_pr.outputs.pull-request-number }}
run: gh pr merge --auto --squash "${PULL_REQUEST_NUMBER}"