Auto-merge PR and publish docs #290
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 | |
with: | |
env: 'dev prod' | |
secrets: inherit |