Repository Update #56
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: Repository Update | |
# yamllint disable-line rule:truthy | |
on: | |
workflow_dispatch: | |
inputs: | |
ADDON: | |
description: Addon name | |
required: true | |
default: laskakit-data-feeder | |
type: string | |
FORCE: | |
description: Whether to update all add-ons | |
required: false | |
default: false | |
type: boolean | |
repository_dispatch: | |
types: ["update"] | |
jobs: | |
updater: | |
name: Running updater for ${{ github.event.client_payload.addon || github.event.inputs.ADDON }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Running updater for ${{ github.event.client_payload.addon || github.event.inputs.ADDON }} | |
run: echo ${{ github.event.client_payload.addon || github.event.inputs.ADDON }} | |
- name: Running updater for ${{ github.event.client_payload.addon || github.event.inputs.ADDON }} | |
uses: ./.github/actions/repository-updater | |
with: | |
TOKEN: ${{ secrets.UPDATER_TOKEN }} | |
ADDON: ${{ github.event.client_payload.addon || github.event.inputs.ADDON }} | |
FORCE: ${{ github.event.inputs.FORCE }} |