Skip to content

Commit 909c601

Browse files
chore(deps): bump dependabot/fetch-metadata from 2.3.0 to 2.5.0 (#10956)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.3.0 to 2.5.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](dependabot/fetch-metadata@d7267f6...21025c7) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-version: 2.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent fafdcd5 commit 909c601

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

.github/workflows/dependabot.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: dependabot
2-
on: pull_request
3-
4-
permissions:
5-
contents: write
6-
pull-requests: write
7-
8-
jobs:
9-
auto-merge:
10-
runs-on: ubuntu-latest
11-
if: ${{ github.actor == 'dependabot[bot]' }}
12-
steps:
13-
- name: Retrieve Dependabot metadata
14-
id: metadata
15-
uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7 # v2.3.0
16-
17-
- name: Auto Approve PR
18-
run: gh pr review --approve "$PR_URL"
19-
env:
20-
PR_URL: ${{github.event.pull_request.html_url}}
21-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
22-
23-
- name: Auto Merge PR
24-
run: gh pr merge --auto --squash "$PR_URL"
25-
if: ${{ steps.metadata.outputs.package-ecosystem != 'github_actions' }}
26-
env:
27-
PR_URL: ${{github.event.pull_request.html_url}}
28-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
1+
name: dependabot
2+
on: pull_request
3+
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
8+
jobs:
9+
auto-merge:
10+
runs-on: ubuntu-latest
11+
if: ${{ github.actor == 'dependabot[bot]' }}
12+
steps:
13+
- name: Retrieve Dependabot metadata
14+
id: metadata
15+
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
16+
17+
- name: Auto Approve PR
18+
run: gh pr review --approve "$PR_URL"
19+
env:
20+
PR_URL: ${{github.event.pull_request.html_url}}
21+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
22+
23+
- name: Auto Merge PR
24+
run: gh pr merge --auto --squash "$PR_URL"
25+
if: ${{ steps.metadata.outputs.package-ecosystem != 'github_actions' }}
26+
env:
27+
PR_URL: ${{github.event.pull_request.html_url}}
28+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)