Skip to content

Commit

Permalink
Merge branch 'patternfly:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
wise-king-sullyman authored Nov 18, 2024
2 parents 20e6d33 + c1d632b commit 5cebf4c
Show file tree
Hide file tree
Showing 22 changed files with 29,152 additions and 2,894 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
branches:
- main
- v4
- v6
jobs:
call-build-lint-test-workflow:
uses: ./.github/workflows/build-lint-test.yml
24 changes: 24 additions & 0 deletions .github/workflows/extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,27 @@ jobs:
with:
project-url: https://github.com/orgs/patternfly/projects/7
github-token: ${{ secrets.GH_PROJECTS }}
label-issue:
runs-on: ubuntu-latest
steps:
- name: Team Membership Checker
# You may pin to the exact commit or the version.
# uses: TheModdingInquisition/actions-team-membership@a69636a92bc927f32c3910baac06bacc949c984c
uses: TheModdingInquisition/[email protected]
with:
# Repository token. GitHub Action token is used by default(recommended). But you can also use the other token(e.g. personal access token).
token: ${{ secrets.GH_READ_ORG_TOKEN }}
# The team to check for.
team: 'frequent-flyers'
# The organization of the team to check for. Defaults to the context organization.
organization: 'patternfly'
# If the action should exit if the user is not part of the team.
exit: true

- name: Add label if user is a team member
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels \
-d '{"labels":["PF Team"]}'
2 changes: 1 addition & 1 deletion .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
# Sequence of patterns matched against refs/tags
tags:
- v5.*
- v6.*
jobs:
build-and-promote:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- main
- v4
- v5
jobs:
call-build-lint-test-workflow:
uses: ./.github/workflows/build-lint-test.yml
Expand Down
Loading

0 comments on commit 5cebf4c

Please sign in to comment.