Skip to content

Commit 5cebf4c

Browse files
Merge branch 'patternfly:main' into main
2 parents 20e6d33 + c1d632b commit 5cebf4c

File tree

22 files changed

+29152
-2894
lines changed

22 files changed

+29152
-2894
lines changed

.github/workflows/check-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
branches:
55
- main
6-
- v4
6+
- v6
77
jobs:
88
call-build-lint-test-workflow:
99
uses: ./.github/workflows/build-lint-test.yml

.github/workflows/extensions.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,27 @@ jobs:
1414
with:
1515
project-url: https://github.com/orgs/patternfly/projects/7
1616
github-token: ${{ secrets.GH_PROJECTS }}
17+
label-issue:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Team Membership Checker
21+
# You may pin to the exact commit or the version.
22+
# uses: TheModdingInquisition/actions-team-membership@a69636a92bc927f32c3910baac06bacc949c984c
23+
uses: TheModdingInquisition/[email protected]
24+
with:
25+
# Repository token. GitHub Action token is used by default(recommended). But you can also use the other token(e.g. personal access token).
26+
token: ${{ secrets.GH_READ_ORG_TOKEN }}
27+
# The team to check for.
28+
team: 'frequent-flyers'
29+
# The organization of the team to check for. Defaults to the context organization.
30+
organization: 'patternfly'
31+
# If the action should exit if the user is not part of the team.
32+
exit: true
33+
34+
- name: Add label if user is a team member
35+
run: |
36+
curl -X POST \
37+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
38+
-H "Accept: application/vnd.github.v3+json" \
39+
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels \
40+
-d '{"labels":["PF Team"]}'

.github/workflows/promote.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
# Sequence of patterns matched against refs/tags
55
tags:
6-
- v5.*
6+
- v6.*
77
jobs:
88
build-and-promote:
99
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches:
55
- main
6-
- v4
6+
- v5
77
jobs:
88
call-build-lint-test-workflow:
99
uses: ./.github/workflows/build-lint-test.yml

0 commit comments

Comments
 (0)