From 9f048c196b921f4824414dc5c851831313d2a6db Mon Sep 17 00:00:00 2001 From: Isaac Milarsky Date: Tue, 17 Sep 2024 16:48:08 -0500 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f09676f..39d5cf3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,11 +8,23 @@ jobs: changelog: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: "✏️ Generate release changelog" uses: heinrichreimer/action-github-changelog-generator@v2.3 with: base: CHANGELOG.md - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} + - run: | + git config user.name 'GitHub Actions' + git config user.email 'actions@users.noreply.github.com' + git add -A + timestamp=$(date -u) + git commit -m "update ${{ matrix.orgs }} data: ${timestamp}" || exit 0 + - name: Push to ${{ github.ref_name }} + uses: CasperWA/push-protected@v2 + with: + token: ${{ secrets.REPOLINTER_AUTO_TOKEN }} + branch: ${{ github.ref_name }} build: runs-on: ${{ matrix.os }}