Skip to content

Commit

Permalink
Refactor Action job names
Browse files Browse the repository at this point in the history
Signed-off-by: Chaitanya Munukutla <[email protected]>
  • Loading branch information
c16a committed Apr 6, 2024
1 parent c0de28e commit fb9c69e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Go
name: Push

on:
pull_request:
branches: [ "main" ]

jobs:
build:
name: Build
runs-on: ubuntu-latest
container: golang:1.22.2
steps:
Expand Down Expand Up @@ -39,4 +40,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:go"
category: "/language:go"
5 changes: 3 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Go
name: Push

on:
push:
Expand All @@ -25,7 +25,8 @@ jobs:
timeout-minutes: 360
permissions:
security-events: write

needs:
- build
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit fb9c69e

Please sign in to comment.