This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Merge pull request #16 from MajorScruffy/dependabot/npm_and_yarn/vm2-… #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
jobs: | |
delete-workflow-runs: | |
runs-on: ubuntu-latest | |
name: A demo job to delete workflow runs | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Delete workflow runs | |
uses: ./ # Uses an action in the root directory | |
id: delete-old-workflow-runs | |
with: | |
repository: MajorScruffy/delete-old-workflow-runs | |
workflow: ".github/workflows/main.yml" | |
# older-than-seconds: 3600 | |
# created-before: "2021-12-08T16:34:00Z" | |
# actor: [email protected] | |
# branch: main | |
# event: push | |
# event: completed | |
# what-if: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |