Auto-merge PR and publish docs #136
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 and publish docs | ||
on: | ||
check_suite: | ||
types: | ||
- completed | ||
status: { } | ||
jobs: | ||
auto-merge: | ||
name: Auto merge after successful checks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Auto merge | ||
uses: pascalgn/[email protected] | ||
if: github.actor == 'dplacinta' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
MERGE_LABELS: "" | ||
MERGE_METHOD: rebase | ||
LOG: "TRACE" | ||
trigger-deploy: | ||
name: Trigger documentation publishing | ||
uses: ./.github/workflows/deploy.yml | ||
Check failure on line 24 in .github/workflows/auto-merge-pr.yml GitHub Actions / .github/workflows/auto-merge-pr.ymlInvalid workflow file
|
||
with: | ||
env: 'dev prod' | ||
secrets: inherit |