Skip to content

test-delete-file

test-delete-file #1455

name: test-delete-file
on:
schedule:
- cron: "0 21 * * *"
jobs:
remove-test-file:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.AVOID_INFINITE_LOOP_PAT }}
- name: import gpg
id: gpg
uses: crazy-max/ghaction-import-gpg@v3.0.1
with:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
git-user-signingkey: true
git-commit-gpgsign: true
- name: Remove test file
run: rm -f testfile
shell: bash
- name: Push changes to remote
id: delete-push-change
uses: anyone-developer/anyone-push-back-repo@main
with:
strategy-option: ours
actor: Edward-Roshan
actor-email: zhang_nan_163@163.com