Skip to content

Update from template #2

Update from template

Update from template #2

# ⚠️ DO NOT EDIT THIS FILE, IT IS GENERATED BY COPIER ⚠️
# Changes here will be lost on a future update.
# See: https://github.com/ingadhoc/addons-repo-template
on:
push:
branches: "*.0-*"
pull_request:
branches: "*.0"
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'adhoc-dev' }}
steps:
- name: Clone adhoc-dev
with:
token: ${{ secrets.TOKEN }}
fetch-depth: 0
uses: actions/checkout@v4
- name: Push to ingadhoc
run: git push --force https://github.com/ingadhoc/${GITHUB_REPOSITORY#'adhoc-dev/'}.git HEAD
- name: PR link
run: echo 'Create pr by visiting https://github.com/ingadhoc/'${GITHUB_REPOSITORY#'adhoc-dev/'}'/pull/new/'${GITHUB_REF_NAME}