Skip to content

Commit

Permalink
update dependabot.yml and build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alex2276564 committed Sep 22, 2024
1 parent 156417d commit eef7894
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ updates:
schedule:
interval: "weekly"
commit-message:
prefix: "[GitHub Actions]"
prefix: "[GitHub Actions]"
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
distribution: 'temurin'

- name: Build with Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/gradle-build-action@v2
with:
arguments: build

Expand All @@ -50,7 +50,7 @@ jobs:
if: steps.metadata.outputs.package-ecosystem == 'github_actions'
run: gh pr merge --auto --squash "$PR_URL"
env:
GH_TOKEN: ${{ PAT_TOKEN }}
GH_TOKEN: ${{ secrets.MYSECRET }}
PR_URL: ${{github.event.pull_request.html_url}}

- name: Auto-merge other Dependabot PRs
Expand All @@ -63,5 +63,5 @@ jobs:
)
run: gh pr merge --auto --squash "$PR_URL"
env:
GH_TOKEN: ${{ PAT_TOKEN }}
GH_TOKEN: ${{ secrets.MYSECRET }}
PR_URL: ${{github.event.pull_request.html_url}}

0 comments on commit eef7894

Please sign in to comment.