mirror of
https://github.com/Pablo2048/modbus-rtu-master.git
synced 2025-11-01 00:18:35 +01:00
21 lines
437 B
YAML
21 lines
437 B
YAML
name: Update Development Branch After PR Merge
|
|
|
|
on:
|
|
pull_request:
|
|
types: [closed]
|
|
|
|
jobs:
|
|
update-dev:
|
|
if: github.event.pull_request.merged == true && github.ref == 'refs/heads/main'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set executable permissions
|
|
run: chmod +x ./update_dev.sh
|
|
|
|
- name: Run update_dev.sh script
|
|
run: ./update_dev.sh
|