From e164d7e62f63cc3041a2ec32f4294903efa235c1 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sat, 22 Oct 2022 00:32:05 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20GitHub=20Cleaner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk.yml | 2 +- .github/workflows/github-cleanup.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/github-cleanup.yml diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index af258c1..e95d18e 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -117,6 +117,6 @@ jobs: name: GitHub Cleanup if: ${{ inputs.CLEANUP }} needs: [ upload-to-telegram ] - uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main + uses: ./.github/workflows/github-cleanup.yml secrets: GH_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/github-cleanup.yml b/.github/workflows/github-cleanup.yml new file mode 100644 index 0000000..82eef53 --- /dev/null +++ b/.github/workflows/github-cleanup.yml @@ -0,0 +1,15 @@ +name: GitHub Cleanup + +on: + workflow_call: + secrets: + GH_TOKEN: + required: true + workflow_dispatch: + +jobs: + cleanup: + name: GitHub Cleanup + uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main + secrets: + GH_TOKEN: ${{ secrets.GH_TOKEN }}