Skip to content

Commit 5b85df0

Browse files
committed
Various actions updates
* Sort "on" targets * Ensure push branch-ignores for dependabot and renovate * Ensure concurrency section * Ensure permissions section * Ensure we don't word-wrap long lines
1 parent 50ad18e commit 5b85df0

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
1-
---
21
name: CI
32
on:
4-
push:
53
pull_request:
6-
workflow_dispatch:
4+
push:
5+
branches-ignore:
6+
- dependabot/*
7+
- renovate/*
78
schedule:
89
- cron: 0 0 * * 0
10+
workflow_dispatch:
11+
concurrency:
12+
group: "${{ github.workflow }}-${{ github.ref }}"
13+
cancel-in-progress: true
14+
permissions:
15+
contents: read
916
jobs:
1017
ci:
1118
runs-on: ubuntu-latest
1219
steps:
1320
- uses: actions/checkout@v4
1421
- name: Set up registry credentials
15-
if: "${{ github.ref == 'refs/heads/master' && github.repository_owner == 'ManageIQ'
16-
}}"
22+
if: "${{ github.ref == 'refs/heads/master' && github.repository_owner == 'ManageIQ' }}"
1723
run: |
1824
echo "REGISTRY_USERNAME=${{ secrets.REGISTRY_USERNAME }}" >> $GITHUB_ENV
1925
echo "REGISTRY_PASSWORD=${{ secrets.REGISTRY_PASSWORD }}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)