We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47048d7 commit daba62fCopy full SHA for daba62f
.github/workflows/push_to_another_repo.yml
@@ -0,0 +1,20 @@
1
+on:
2
+ push:
3
+ branches: "*.0-*"
4
+ pull_request:
5
+ branches: "*.0"
6
+
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ if: ${{ github.repository_owner == 'adhoc-dev' }}
11
+ steps:
12
+ - name: Clone adhoc-dev
13
+ with:
14
+ token: ${{ secrets.TOKEN }}
15
+ fetch-depth: 0
16
+ uses: actions/checkout@v3
17
+ - name: Push to ingadhoc
18
+ run: git push --force https://github.com/ingadhoc/${GITHUB_REPOSITORY#'adhoc-dev/'}.git HEAD
19
+ - name: PR link
20
+ run: echo 'Create pr by visiting https://github.com/ingadhoc/'${GITHUB_REPOSITORY#'adhoc-dev/'}'/pull/new/'${GITHUB_REF_NAME}
0 commit comments