- changed-files:
- any-glob-to-any-file: '**/*.swsl'
-"No C#":
+"Changes: No C#":
- changed-files:
# Equiv to any-glob-to-all as long as this has one matcher. If ALL changed files are not C# files, then apply label.
- all-globs-to-all-files: "!**/*.cs"
- name: Check for Merge Conflicts
uses: eps1lon/actions-label-merge-conflict@v3.0.0
with:
- dirtyLabel: "Merge Conflict"
+ dirtyLabel: "S: Merge Conflict"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
- labels: "Status: Needs Review"
+ labels: "S: Needs Review"
- uses: actions-ecosystem/action-remove-labels@v1
with:
- labels: "Status: Awaiting Changes"
+ labels: "S: Awaiting Changes"
--- /dev/null
+name: "Labels: Size"
+on: pull_request_target
+jobs:
+ size-label:
+ runs-on: ubuntu-latest
+ steps:
+ - name: size-label
+ uses: "pascalgn/size-label-action@v0.5.5"
+ env:
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+ with:
+ # Custom size configuration
+ sizes: >
+ {
+ "0": "XS",
+ "10": "S",
+ "30": "M",
+ "100": "L",
+ "1000": "XL"
+ }
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
- labels: "Branch: stable"
+ labels: "Branch: Stable"
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
- labels: "Branch: staging"
+ labels: "Branch: Staging"
on:
issues:
types: [opened]
+ pull_request_target:
+ types: [opened]
jobs:
add_label:
- uses: actions-ecosystem/action-add-labels@v1
if: join(github.event.issue.labels) == ''
with:
- labels: "Status: Untriaged"
+ labels: "S: Untriaged"