diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index fbb3df1..4ce1b48 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -5,6 +5,8 @@ on: push: branches: - main + paths: + - Dockerfile permissions: contents: read diff --git a/.github/workflows/merge-dependabot.yml b/.github/workflows/merge-dependabot.yml index 91a96df..dee82e6 100644 --- a/.github/workflows/merge-dependabot.yml +++ b/.github/workflows/merge-dependabot.yml @@ -5,10 +5,6 @@ on: paths: - Dockerfile -permissions: - contents: write - pull-requests: write - jobs: merge-dependabot: runs-on: ubuntu-22.04 @@ -18,4 +14,4 @@ jobs: run: gh pr merge --auto --merge "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{secrets.AUTOMERGE_PAT}}