Skip to content

Commit db6353d

Browse files
committed
improve(ci): exclude export if PR actor is dependabot
1 parent eca5612 commit db6353d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/export-mastodon-list.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,18 @@ jobs:
4545
python -m pip install -U -r requirements.txt
4646
4747
- name: Export geotribu's mastodon lists and accounts
48+
if: github.actor != 'dependabot[bot]'
4849
env:
4950
GEOTRIBU_MASTODON_API_ACCESS_TOKEN: ${{ secrets.GEOTRIBU_MASTODON_API_ACCESS_TOKEN }}
5051
run: |
5152
geotribu social mastodon-export -w export/
5253
54+
- name: Create dummy export for Dependabot
55+
if: github.actor == 'dependabot[bot]'
56+
run: |
57+
mkdir -p export/
58+
echo "Dependabot test run" > export/README.txt
59+
5360
- name: Generate Directory Listings
5461
uses: jayanta525/[email protected]
5562
with:

0 commit comments

Comments
 (0)