Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHA conditions syntax fix #7423

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/pr-auto-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
if: ${{ github.event.action == opened || github.event.action == reopened || github.event.action == synchronize }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
add: ""
Expand All @@ -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 }}"

Expand All @@ -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/[email protected]"
if: ${{ github.event.action == opened || github.event.action == reopened || github.event.action == synchronize }}
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
Expand Down