ci: tweak paths #2
This file contains hidden or 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
| on: | |
| push: | |
| workflow_dispatch: | |
| inputs: | |
| repo: | |
| description: "name of repository (without bettermarks/)" | |
| type: string | |
| required: true | |
| # dashboardIssue: | |
| # description: the number of the dependency dashboard issue | |
| # default: 0 | |
| # type: number | |
| jobs: | |
| trigger: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| repository: 'bettermarks/renovate-config' | |
| path: renovate-config | |
| - uses: actions/github-script@v8 | |
| env: | |
| REPO: ${{ inputs.repo || 'renovate-config' }} | |
| OWNER: "bettermarks" | |
| with: | |
| script: | | |
| const {trigger} = await import('${{ github.workspace }}/renovate-config/trigger.ts') | |
| console.log(await trigger({github, context, exec})) |