[QI2-1219] Create reusable workflows #1
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: Auto-merge PR's from dependabot | ||
on: | ||
workflow_call: | ||
secrets: | ||
github_token: | ||
Check failure on line 6 in .github/workflows/_dependabot-auto-merge.yaml
|
||
required: true | ||
jobs: | ||
auto-merge-dependabot: | ||
name: Auto merge dependabot PR | ||
if: ${{ (github.event_name == 'pull_request') && (github.actor == 'dependabot[bot]') }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
contents: write | ||
steps: | ||
- name: Squash and Merge PR from dependabot | ||
uses: fastify/[email protected] | ||
with: | ||
github-token: ${{ secrets.github_token }} | ||
merge-method: squash |