mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-22 16:29:10 -04:00
Delete 5 month old FF branches
This commit is contained in:
parent
5a12ffc211
commit
89a941aa12
19
.github/workflows/delete-ff-branch.yml
vendored
Normal file
19
.github/workflows/delete-ff-branch.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Remove old FF Branch
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 23 * *'
|
||||
jobs:
|
||||
create_ff_branch:
|
||||
name: Delete Feature Freeze Branch
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- id: date
|
||||
run: echo "::set-output name=date::$(date -d '5 month ago' +'%Y.%m.01')"
|
||||
|
||||
- uses: dawidd6/action-delete-branch@v3
|
||||
with:
|
||||
branches: ${{ steps.date.outputs.date }}
|
||||
github_token: ${{ github.token }}
|
Loading…
x
Reference in New Issue
Block a user