Skip to content

chore(action): bump oxsecurity/megalinter from 7.10.0 to 7.11.1 #22

chore(action): bump oxsecurity/megalinter from 7.10.0 to 7.11.1

chore(action): bump oxsecurity/megalinter from 7.10.0 to 7.11.1 #22

Workflow file for this run

---
name: Dependabot CI
on:
pull_request_target:
jobs:
lint:
name: Lint Files
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- run: echo "Impersonate the linter workflow"
dependabot_ci:
name: Dependabot CI
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
needs: lint
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Fetch PR metadata
uses: dependabot/fetch-metadata@v2.0.0
id: dependabot-metadata
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve PR
run: gh pr review --approve "$PR_URL"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
- name: Merge PR
run: gh pr merge --auto --squash "$PR_URL"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}