Skip to content

Commit

Permalink
Bulk change all workflows: add a meaningful name.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Dec 8, 2023
1 parent b198899 commit a90ecf6
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/assign-pr.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: 'Auto Assign PR'

on:
pull_request:
on: pull_request_target

jobs:
add-reviews:
assign-pr:
name: 'Auto Assign PR'
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.5
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
analyze:
name: Analyze
name: Analyze with CodeQL
runs-on: ubuntu-latest
permissions:
actions: read
Expand All @@ -34,13 +34,13 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version: 21
cache: maven

- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.9.3
maven-version: 3.9.6

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
label:
enforce-labels:
name: Enforce PR labels
runs-on: ubuntu-latest
permissions:
issues: write
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/run-release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
- main

jobs:
update_release_draft:
update-release-draft:
name: 'Update Release Draft'
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5.25.0
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ on:
push:
branches:
- master
- main
paths:
- .github/labels.yml
- .github/workflows/sync-labels.yml

jobs:
build:
snyc-labels:
name: Sync labels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit a90ecf6

Please sign in to comment.