WF
This commit is contained in:
parent
10dcece5bb
commit
570dab2083
4
.github/workflows/move-to-main-repo.yaml
vendored
4
.github/workflows/move-to-main-repo.yaml
vendored
@ -26,7 +26,7 @@ jobs:
|
|||||||
raw_output=$(gh issue list --json title,labels)
|
raw_output=$(gh issue list --json title,labels)
|
||||||
echo "$raw_output"
|
echo "$raw_output"
|
||||||
|
|
||||||
filtered_issues=$(echo "$raw_output" | jq -r '.[] | select(.labels[]? == "MigrationTest") | .title')
|
filtered_issues=$(echo "$raw_output" | jq -r '.[] | select(.labels[]?.name == "MigrationTest") | .title')
|
||||||
if [ -z "$filtered_issues" ]; then
|
if [ -z "$filtered_issues" ]; then
|
||||||
echo "No issues found with label 'MigrationTest'."
|
echo "No issues found with label 'MigrationTest'."
|
||||||
else
|
else
|
||||||
@ -73,7 +73,7 @@ jobs:
|
|||||||
- name: Create PR if files found
|
- name: Create PR if files found
|
||||||
if: env.files_found == 'true'
|
if: env.files_found == 'true'
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
GITHUB_TOKEN: ${{ secrets.MAIN_REPO_WF }}
|
||||||
run: |
|
run: |
|
||||||
script_name="wf-test"
|
script_name="wf-test"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user