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