0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-03-14 13:12:55 +00:00
netdata_netdata/.github/workflows/packagecloud.yml
dependabot[bot] a13d9f3316
Bump actions/checkout from 3 to 4 (#15935)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 07:16:49 -04:00

36 lines
873 B
YAML

---
# Runs PackageCloud cleanup every day at 9pm
name: PackageCloud Cleanup
on:
schedule:
- cron: '0 21 * * *'
workflow_dispatch: null
jobs:
cleanup:
name: PackageCloud Cleanup
runs-on: ubuntu-latest
if: github.repository == 'netdata/netdata'
strategy:
fail-fast: false
matrix:
repos:
- stable
- edge
- devel
steps:
- name: Checkout
uses: actions/checkout@v4
id: checkout
with:
submodules: recursive
- name: Prepare environment
id: prepare
run: |
pip3 install requests python-dateutil
- name: Run PackageCloud Cleanup
id: cleanup
env:
PKGCLOUD_TOKEN: ${{ secrets.PACKAGE_CLOUD_API_KEY }}
run: |
python3 .github/scripts/netdata-pkgcloud-cleanup.py -r ${{ matrix.repos }}