This repository has been archived by the owner on Dec 14, 2024. It is now read-only.
Merge pull request #21 from OmegaRogue/pull-request-no-injection #17
Workflow file for this run
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
#file: noinspection SpellCheckingInspection | |
name: Merge to fork | |
on: | |
push: | |
tags: | |
- "1.*" | |
- "!1.*-*" | |
jobs: | |
fork: | |
if: github.repository_owner == 'OmegaRogue' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Merge Fork | |
uses: devmasx/merge-branch@master | |
with: | |
type: now | |
from_branch: main | |
target_branch: pull-request-no-injection | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: create pull request | |
if: failure() | |
run: gh pr create -B pull-request-no-injection -H main --title 'Merge main into pull-request-no-injection' --body 'Created by Github action' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |