Cleanup Branches #30
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
name: Cleanup Branches | |
on: | |
workflow_dispatch: | |
# inputs: | |
# identifier: | |
# description: Package.Identifier | |
# required: true | |
# urls: | |
# description: URLs space separated | |
# required: true | |
# version: | |
# description: Version | |
# required: true | |
# submit: | |
# description: 'True to auto-submit' | |
# required: true | |
# type: boolean | |
schedule: | |
- cron: '3 12 * * *' # every 4 hours | |
jobs: | |
komac-cleanup: | |
name: komac new and submit | |
if: false == ${{ inputs.submit }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run Komac | |
uses: michidk/run-komac@v2 | |
with: | |
args: 'cleanup --token=${{ secrets.WINGET_PAT }}' | |
custom-fork-owner: damn-good-b0t | |
# komac-new-submit: | |
# name: komac new and submit | |
# if: ${{ inputs.submit }} | |
# runs-on: ubuntu-latest | |
# | |
# steps: | |
# - name: Run Komac | |
# uses: michidk/run-komac@v2 | |
# with: | |
# args: 'new --identifier ${{ inputs.identifier }} --version ${{ inputs.version }} --urls ${{ inputs.urls }} --token=${{ secrets.WINGET_PAT }} --submit' | |
# custom-fork-owner: damn-good-b0t | |
# | |
# komac-new: | |
# name: komac new and submit | |
# if: false == ${{ inputs.submit }} | |
# runs-on: ubuntu-latest | |
# | |
# steps: | |
# - name: Run Komac | |
# uses: michidk/run-komac@v2 | |
# with: | |
# args: 'new --identifier ${{ inputs.identifier }} --version ${{ inputs.version }} --urls ${{ inputs.urls }} --token=${{ secrets.WINGET_PAT }}' | |
# custom-fork-owner: damn-good-b0t |