Skip to content

Commit 1d0f365

Browse files
authored
Update scrape-proton-mta-sts.yml
Added error handling to prevent committing when no changes are required.
1 parent 4cd14f7 commit 1d0f365

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/scrape-proton-mta-sts.yml

-8
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ jobs:
2626
# Replace mode with testing
2727
sed -i 's/^mode: .*/mode: testing/' .well-known/mta-sts.txt
2828
29-
# - name: Commit and push updated file
30-
# run: |
31-
# git config --global user.name "github-actions[bot]"
32-
# git config --global user.email "[email protected]."
33-
# git add .well-known/mta-sts.txt
34-
# git commit -m "Update MTA-STS policy on $(date +'%Y-%m-%d')"
35-
# git push
36-
3729
- name: Check for changes
3830
id: check_changes
3931
run: |

0 commit comments

Comments
 (0)