This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
Update Transitive Dependencies #710
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependabot auto-merge | |
on: pull_request_target | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
dependabot: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
safe-dependency: | |
- "@ilios/ember-template-lint-plugin" | |
- "@sentry/ember" | |
- "browserslist" | |
- "caniuse-db" | |
- "dotenv" | |
- "ember-a11y-testing" | |
- "ember-cli-dependency-checker" | |
- "ember-cli-dependency-lint" | |
- "ember-cli-page-object" | |
- "ember-noscript" | |
- "stylelint-config-recommended-scss" | |
- "stylelint-scss" | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- name: Dependabot metadata | |
id: metadata | |
uses: dependabot/fetch-metadata@v1.6.0 | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
- uses: actions/checkout@v4 | |
if: ${{contains(steps.metadata.outputs.dependency-names, matrix.safe-dependency)}} | |
- name: Enable auto-merge for Dependabot PRs | |
if: ${{contains(steps.metadata.outputs.dependency-names, matrix.safe-dependency)}} | |
run: gh pr merge --merge --auto ${{ github.event.number }} | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |