From 9e7bade71b7468ebbabeacc3a02f5e5cd5176096 Mon Sep 17 00:00:00 2001 From: Workflow Sync Bot Date: Wed, 13 Nov 2024 20:30:58 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AC=20-=20Files=20Synced=20|=20Runner?= =?UTF-8?q?=20ID=20:=20122=20|=20=E2=9A=A1=20Triggered=20By=20fuelviews/gi?= =?UTF-8?q?thub-workflow-sync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/dependabot.yml | 2 ++ .github/workflows/update-changelog.yml | 31 ++++++++------------------ 2 files changed, 11 insertions(+), 22 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index fef5dd8..92b21c9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,6 +9,8 @@ updates: directory: '/' schedule: interval: 'weekly' + ignore: + - dependency-name: "ralphjsmit/laravel-glide" target-branch: main - package-ecosystem: 'github-actions' directory: '/' diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 327df8a..a2bc9a0 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -1,8 +1,6 @@ -name: Update Changelog +name: "Update Changelog" on: - workflow_dispatch: - release: types: [released] @@ -12,21 +10,13 @@ permissions: jobs: update: runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 5 steps: - - name: Get Token - id: get_workflow_token - uses: peter-murray/workflow-application-token-action@v4 - with: - application_id: ${{ vars.FUELVIEWS_BOT_APP_ID}} - application_private_key: ${{ secrets.FUELVIEWS_BOT_APP_PRIVATE_KEY }} - - name: Checkout code uses: actions/checkout@v4 with: - ref: ${{ github.event.release.target_commitish }} - token: ${{ steps.get_workflow_token.outputs.token }} + ref: 'main' - name: Update Changelog uses: stefanzweifel/changelog-updater-action@v1 @@ -34,12 +24,9 @@ jobs: latest-version: ${{ github.event.release.name }} release-notes: ${{ github.event.release.body }} - - name: Amend latest commit with updated CHANGELOG - run: | - git config user.name "fuelviews-app[bot]" - git config user.email "fuelviews-app[bot]@users.noreply.github.com" - git add CHANGELOG.md - git commit --amend --no-edit - git push origin main --force-with-lease - env: - GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }} \ No newline at end of file + - name: Commit updated CHANGELOG + uses: stefanzweifel/git-auto-commit-action@v5 + with: + branch: main + commit_message: Update CHANGELOG + file_pattern: CHANGELOG.md