Skip to content

Commit 1daafab

Browse files
authored
Update workflows (#400)
* Update Workflows Remove references to "main" and "develop" branches. Add "rocm" tag to the release workflow. --------- Signed-off-by: David Galiffi <[email protected]>
1 parent a34a91a commit 1daafab

File tree

9 files changed

+17
-16
lines changed

9 files changed

+17
-16
lines changed

.github/workflows/containers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
schedule:
88
- cron: 0 5 * * *
99
push:
10-
branches: [main, amd-mainline]
10+
branches: [amd-staging]
1111
paths:
1212
- '.github/workflows/containers.yml'
1313
- 'docker/**'

.github/workflows/cpack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ run-name: cpack
44
on:
55
workflow_dispatch:
66
push:
7-
branches: [main, amd-mainline, release/**]
7+
branches: [amd-staging, amd-mainline, release/**]
88
tags:
99
- "v[1-9].[0-9]+.[0-9]+*"
1010
- "rocm-[1-9].[0-9]+.[0-9]+*"
@@ -13,7 +13,7 @@ on:
1313
- 'docs/**'
1414
- 'source/docs/**'
1515
pull_request:
16-
branches: [main, amd-mainline]
16+
branches: [amd-staging]
1717
paths:
1818
- '.github/workflows/cpack.yml'
1919
- 'docker/**'

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ name: Documentation
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [main, amd-mainline, gh-pages]
6+
branches: [amd-staging, amd-mainline, gh-pages]
77
paths:
88
- '*.md'
99
- 'source/docs/**'
1010
- '.github/workflows/docs.yml'
1111
- 'VERSION'
1212
pull_request:
13-
branches: [main, amd-mainline]
13+
branches: [amd-staging, amd-mainline]
1414
paths:
1515
- '*.md'
1616
- 'source/docs/**'

.github/workflows/formatting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ run-name: formatting
44

55
on:
66
push:
7-
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
7+
branches: [ amd-mainline, amd-staging, release/** ]
88
pull_request:
9-
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
9+
branches: [ amd-mainline, amd-staging, release/** ]
1010

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/opensuse.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ run-name: opensuse-15
33

44
on:
55
push:
6-
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
6+
branches: [ amd-mainline, amd-staging, release/** ]
77
paths-ignore:
88
- '*.md'
99
- 'docs/**'
@@ -15,7 +15,7 @@ on:
1515
- '.github/workflows/formatting.yml'
1616
- 'docker/**'
1717
pull_request:
18-
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
18+
branches: [ amd-mainline, amd-staging, release/** ]
1919
paths-ignore:
2020
- '*.md'
2121
- 'docs/**'

.github/workflows/redhat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ run-name: redhat
33

44
on:
55
push:
6-
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
6+
branches: [ amd-mainline, amd-staging, release/** ]
77
paths-ignore:
88
- '*.md'
99
- 'docs/**'
@@ -15,7 +15,7 @@ on:
1515
- '.github/workflows/formatting.yml'
1616
- 'docker/**'
1717
pull_request:
18-
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
18+
branches: [ amd-mainline, amd-staging, release/** ]
1919
paths-ignore:
2020
- '*.md'
2121
- 'docs/**'

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
workflow_dispatch:
55
push:
66
tags:
7-
- v*
7+
- "v[1-9].[0-9]+.[0-9]+*"
8+
- "rocm-[1-9].[0-9]+.[0-9]+*"
89

910
concurrency:
1011
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/ubuntu-focal.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ run-name: ubuntu-focal
33

44
on:
55
push:
6-
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
6+
branches: [ amd-mainline, amd-staging, release/** ]
77
paths-ignore:
88
- '*.md'
99
- 'docs/**'
@@ -15,7 +15,7 @@ on:
1515
- '.github/workflows/formatting.yml'
1616
- 'docker/**'
1717
pull_request:
18-
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
18+
branches: [ amd-mainline, amd-staging, release/** ]
1919
paths-ignore:
2020
- '*.md'
2121
- 'docs/**'

.github/workflows/ubuntu-jammy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ run-name: ubuntu-jammy
33

44
on:
55
push:
6-
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
6+
branches: [ amd-mainline, amd-staging, release/** ]
77
paths-ignore:
88
- '*.md'
99
- 'docs/**'
@@ -15,7 +15,7 @@ on:
1515
- '.github/workflows/formatting.yml'
1616
- 'docker/**'
1717
pull_request:
18-
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
18+
branches: [ amd-mainline, amd-staging, release/** ]
1919
paths-ignore:
2020
- '*.md'
2121
- 'docs/**'

0 commit comments

Comments
 (0)