Fix MRTK3 packages so that dependencies include the "-pre.X" tag. Without this dependency downloads fail #888
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: "Issue Labeling" | |
on: | |
issues: | |
types: [opened, edited] | |
jobs: | |
label-issue: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@v6 | |
with: | |
script: | | |
if (context.payload.issue.title.toLowerCase().includes("mrtk3") || | |
context.payload.issue.body.toLowerCase().includes("mrtk3")) | |
{ | |
github.rest.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ['MRTK3'] | |
}) | |
} | |
if (context.payload.issue.title.toLowerCase().includes("mrtk2") || | |
context.payload.issue.body.toLowerCase().includes("mrtk2")) | |
{ | |
github.rest.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ['MRTK2'] | |
}) | |
} |