mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
GHA conditions syntay fix
This commit is contained in:
committed by
I am just a bot
parent
ef193e5a03
commit
6954f12531
7
.github/workflows/pr-auto-labeler.yml
vendored
7
.github/workflows/pr-auto-labeler.yml
vendored
@@ -12,10 +12,11 @@ jobs:
|
||||
contents: read # for pascalgn/size-label-action to determine modified files
|
||||
pull-requests: write # for pascalgn/size-label-action to add labels to PRs
|
||||
name: "Remove Ready to merge"
|
||||
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: PauMAVA/add-remove-label-action@v1.0.3
|
||||
if: ${{ github.event.action == opened || github.event.action == reopened || github.event.action == synchronize }}
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
add: ""
|
||||
@@ -27,12 +28,12 @@ jobs:
|
||||
pull-requests: write # for actions/labeler to add labels to PRs
|
||||
|
||||
name: "Category labels"
|
||||
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/labeler@v5
|
||||
if: ${{ github.event.action == opened || github.event.action == reopened || github.event.action == synchronize }}
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
@@ -42,12 +43,12 @@ jobs:
|
||||
pull-requests: write # for pascalgn/size-label-action to add labels to PRs
|
||||
|
||||
name: "Size label"
|
||||
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: size-label
|
||||
uses: "pascalgn/size-label-action@v0.5.5"
|
||||
if: ${{ github.event.action == opened || github.event.action == reopened || github.event.action == synchronize }}
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user