WF
This commit is contained in:
parent
fd35173913
commit
0297f357d7
9
.github/workflows/move-to-main-repo.yaml
vendored
9
.github/workflows/move-to-main-repo.yaml
vendored
@ -43,9 +43,7 @@ jobs:
|
|||||||
- name: Check if script files exist
|
- name: Check if script files exist
|
||||||
id: check_files
|
id: check_files
|
||||||
run: |
|
run: |
|
||||||
script_name="wf-test"
|
|
||||||
|
|
||||||
# Check if files exist under /ct, /install, and /json
|
|
||||||
ct_file="ct/${script_name}.sh"
|
ct_file="ct/${script_name}.sh"
|
||||||
install_file="install/${script_name}-install.sh"
|
install_file="install/${script_name}-install.sh"
|
||||||
json_file="json/${script_name}.json"
|
json_file="json/${script_name}.json"
|
||||||
@ -63,13 +61,6 @@ jobs:
|
|||||||
git config --global user.email "github-actions@github.com"
|
git config --global user.email "github-actions@github.com"
|
||||||
git config --global user.name "GitHub Actions"
|
git config --global user.name "GitHub Actions"
|
||||||
|
|
||||||
- name: Generate a token
|
|
||||||
id: generate-token
|
|
||||||
uses: actions/create-github-app-token@v1
|
|
||||||
with:
|
|
||||||
app-id: ${{ vars.APP_ID }}
|
|
||||||
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
|
||||||
|
|
||||||
- name: Create PR if files found
|
- name: Create PR if files found
|
||||||
if: env.files_found == 'true'
|
if: env.files_found == 'true'
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user