Skip to content

[FlagGems Operator Development Competition] Add roll operator #3219

[FlagGems Operator Development Competition] Add roll operator

[FlagGems Operator Development Competition] Add roll operator #3219

Workflow file for this run

name: triage
on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
pull-requests: write
issues: write
jobs:
triage:
runs-on: ubuntu-latest
steps:
- id: labeler
uses: actions/labeler@v6
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
- id: sizer
uses: codelytv/pr-size-labeler@v1
with:
xs_label: 'size/XSmall'
xs_max_size: '10'
s_label: 'size/Small'
s_max_size: '100'
m_label: 'size/Medium'
m_max_size: '500'
l_label: 'size/Large'
l_max_size: '1000'
xl_label: 'size/XLarge'
fail_if_xl: 'false'
message_if_xl: >
This PR exceeds the recommended size of 1000 lines.
Please make sure you are NOT addressing multiple issues with one PR.
Note this PR might be rejected due to its size.
github_api_url: 'https://api.github.com'
files_to_ignore: ''
- id: identify-pr-type
uses: actions/github-script@v9
with:
script: |
const prTitle = context.payload.pull_request.title
const prNumber = context.payload.pull_request.number;
if (prTitle.includes('FlagGems Operator Development Competition')) {
await github.rest.issues.addLabels({
issue_number: prNumber,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['competition']
});
}
if (prTitle.includes('KernelGen')) {
await github.rest.issues.addLabels({
issue_number: prNumber,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['KernelGen']
});
}