--- # yaml-language-server: $schema=https://json.schemastore.org/github-action.json name: Sync labels description: Sync labels from a YAML file to a GitHub repository author: Ismo Vuorinen inputs: labels: description: 'Path to the labels YAML file' required: true default: 'labels.yml' outputs: labels: description: 'Path to the labels YAML file' value: ${{ inputs.labels }} runs: using: 'composite' steps: - name: ⤵️ Download latest labels definitions shell: bash run: | curl -s --retry 5 \ "https://raw.githubusercontent.com/ivuorinen/actions/main/sync-labels/labels.yml" \ > ${{ inputs.labels }} - name: 🚀 Run Label Syncer uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0 env: GITHUB_TOKEN: ${{ github.token }} with: manifest: ${{ inputs.labels }}