Skip to content

Update deploy.yml

Update deploy.yml #29

Workflow file for this run

name: "Pull Request"
on:
push:
branches:
- "*"
paths:
- "**"
workflow_dispatch:
jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- run: echo ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- name: create pull request
if: false
run: gh pr create -B main -H ${{ github.ref_name }} --title 'Merge ${{ github.ref_name }} into main' --body 'Created by Github action'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: juliangruber/[email protected]
if: false
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: 3
- name: Merge Pull Request
uses: juliangruber/merge-pull-request-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: 3
method: squash # merge rebase