Skip to content

Commit fe4595e

Browse files
authored
Merge pull request #3387 from tpurschke/develop
Develop
2 parents 240f791 + 3dd9f02 commit fe4595e

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/auto-sync-develop-to-importer-rework.yml.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,15 @@ jobs:
1818
git config --global user.name "github-actions[bot]"
1919
git config --global user.email "github-actions[bot]@users.noreply.github.com"
2020
21-
- name: Ensure "automation" label exists (or update it)
21+
- name: Ensure "automation" label exists (create or update)
2222
run: |
23-
if gh label view automation --json name >/dev/null 2>&1; then
24-
echo "Label 'automation' already exists. Updating it..."
25-
gh label edit automation \
26-
--color "0e8a16" \
27-
--description "Automatically created for syncing branches" \
28-
--force
29-
else
30-
echo "Label 'automation' does not exist. Creating it..."
3123
gh label create automation \
32-
--color "0e8a16" \
33-
--description "Automatically created for syncing branches"
34-
fi
24+
--color "0e8a16" \
25+
--description "Automatically created for syncing branches" \
26+
--force
3527
env:
3628
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3729

38-
3930
- name: Fetch all branches
4031
run: git fetch origin importer-rework
4132

0 commit comments

Comments
 (0)