Issue comment trigger
All checks were successful
actions-lint / actions-lint (push) Successful in 5s
All checks were successful
actions-lint / actions-lint (push) Successful in 5s
This commit is contained in:
7
.github/workflows/update-pis.yml
vendored
7
.github/workflows/update-pis.yml
vendored
@@ -1,15 +1,12 @@
|
|||||||
name: Update raspberry pis
|
name: Update raspberry pis
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
issue_comment:
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
types: [closed]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
name: Deploy Ansible Playbook
|
name: Deploy Ansible Playbook
|
||||||
if: github.event.pull_request.merged == true
|
if: ${{ github.event.comment.body == '!run update-pis'}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
Reference in New Issue
Block a user