Skip to content

Sync Labels from Dante-Wiki Repository #1

Sync Labels from Dante-Wiki Repository

Sync Labels from Dante-Wiki Repository #1

Workflow file for this run

name: Sync Labels from Dante-Wiki Repository
on:
schedule:
- cron: '0 0 * * 0' # Runs weekly
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/checkout@v4
- name: Checkout central labels repository
uses: actions/checkout@v4
with:
repository: clecap/dante-wiki
path: central
- name: Sync labels
uses: reposync/labeler@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labels: ${{ toJson(fromYaml(file('dante-wiki/workflows/labels.yml'))) }}

Check failure on line 26 in .github/workflows/sync-labels.yml

View workflow run for this annotation

GitHub Actions / Sync Labels from Dante-Wiki Repository

Invalid workflow file

The workflow is not valid. .github/workflows/sync-labels.yml (Line: 26, Col: 19): Unrecognized function: 'fromYaml'. Located at position 8 within expression: toJson(fromYaml(file('dante-wiki/workflows/labels.yml')))