Rename pr_on_push to pr_on_push.yml #1
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 PR om Push | ||
on: | ||
push: | ||
branches: [ dev ] | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3steps: | ||
- name: create pull request | ||
run: gh pr create -B main -H dev --title 'Merge dev into branch' --body 'Created by Github action' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |