Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Github admin teams and drop TOC review reminder #1613

Merged
merged 4 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 40 additions & 40 deletions .github/workflows/toc-review-reminder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,48 +12,48 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: 'TOC review reminder'
# name: 'TOC review reminder'

on:
workflow_dispatch:
schedule: ## At 09:00 on Mondays
- cron: 0 9 * * MON
# on:
# workflow_dispatch:
# schedule: ## At 09:00 on Mondays
# - cron: 0 9 * * MON

jobs:
remind:
name: toc-review-reminder
runs-on: 'ubuntu-latest'
# jobs:
# remind:
# name: toc-review-reminder
# runs-on: 'ubuntu-latest'

steps:
- name: checkout TOC-REVIEW.schedule
uses: actions/checkout@v4
with:
repository: knative/community
sparse-checkout: |
mechanics/TOC-REVIEW.schedule
sparse-checkout-cone-mode: false
# steps:
# - name: checkout TOC-REVIEW.schedule
# uses: actions/checkout@v4
# with:
# repository: knative/community
# sparse-checkout: |
# mechanics/TOC-REVIEW.schedule
# sparse-checkout-cone-mode: false

- name: check who is scheduled this week
id: schedule
run: |
SLACK_MSG="NONE"
SCHED=$(cat mechanics/TOC-REVIEW.schedule | grep $(date --date="next wednesday" +%F) || true)
if [[ $SCHED ]]; then
DATE=$(echo $SCHED | cut -d '|' -f 1 | xargs)
WG=$(echo $SCHED | cut -d '|' -f 2 | xargs)
MEMBERS=$(echo $SCHED | cut -d '|' -f 3 | xargs)
SLACK_MSG="The $WG is up for TOC review on $DATE. $MEMBERS"
fi
echo "result=${SLACK_MSG}" >> "$GITHUB_OUTPUT"
# - name: check who is scheduled this week
# id: schedule
# run: |
# SLACK_MSG="NONE"
# SCHED=$(cat mechanics/TOC-REVIEW.schedule | grep $(date --date="next wednesday" +%F) || true)
# if [[ $SCHED ]]; then
# DATE=$(echo $SCHED | cut -d '|' -f 1 | xargs)
# WG=$(echo $SCHED | cut -d '|' -f 2 | xargs)
# MEMBERS=$(echo $SCHED | cut -d '|' -f 3 | xargs)
# SLACK_MSG="The $WG is up for TOC review on $DATE. $MEMBERS"
# fi
# echo "result=${SLACK_MSG}" >> "$GITHUB_OUTPUT"

- name: Post reminder to Slack
if: steps.schedule.outputs.result != 'NONE'
uses: rtCamp/[email protected]
env:
SLACK_ICON: http://github.com/knative.png?size=48
SLACK_USERNAME: github-actions
SLACK_TITLE: TOC review reminder
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
MSG_MINIMAL: 'true'
SLACK_CHANNEL: 'knative-contributors'
SLACK_MESSAGE: ${{ steps.schedule.outputs.result }}
# - name: Post reminder to Slack
# if: steps.schedule.outputs.result != 'NONE'
# uses: rtCamp/[email protected]
# env:
# SLACK_ICON: http://github.com/knative.png?size=48
# SLACK_USERNAME: github-actions
# SLACK_TITLE: TOC review reminder
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# MSG_MINIMAL: 'true'
# SLACK_CHANNEL: 'knative-contributors'
# SLACK_MESSAGE: ${{ steps.schedule.outputs.result }}
8 changes: 4 additions & 4 deletions peribolos/knative-OWNERS_ALIASES
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ aliases:
- skonto
steering-committee:
- aliok
- evankanderson
- nainaz
- salaboy
technical-oversight-committee:
- davidhadas
- dprotaso
- dsimansk
- evankanderson
- nainaz
- psschwei
- salaboy
technical-oversight-committee: []
ux-wg-leads:
- cali0707
- leo6leo
Expand Down
8 changes: 4 additions & 4 deletions peribolos/knative-extensions-OWNERS_ALIASES
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,14 @@ aliases:
- skonto
steering-committee:
- aliok
- evankanderson
- nainaz
- salaboy
technical-oversight-committee:
- davidhadas
- dprotaso
- dsimansk
- evankanderson
- nainaz
- psschwei
- salaboy
technical-oversight-committee: []
ux-wg-leads:
- cali0707
- leo6leo
Expand Down
8 changes: 4 additions & 4 deletions peribolos/knative-extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -744,15 +744,15 @@ orgs:
- evankanderson
- nainaz
- salaboy
privacy: closed
Technical Oversight Committee:
description: Members of the Knative Technical Oversight Committee (TOC)
maintainers:
- davidhadas
- dprotaso
- dsimansk
- psschwei
privacy: closed
Technical Oversight Committee:
description: Members of the Knative Technical Oversight Committee (TOC)
maintainers: []
privacy: closed
Knative Release Leads:
privacy: closed
description: Active members of the Knative Release Leads rotation.
Expand Down
8 changes: 4 additions & 4 deletions peribolos/knative.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -516,15 +516,15 @@ orgs:
- evankanderson
- nainaz
- salaboy
privacy: closed
Technical Oversight Committee:
description: Members of the Knative Technical Oversight Committee (TOC)
maintainers:
- davidhadas
- dprotaso
- dsimansk
- psschwei
privacy: closed
Technical Oversight Committee:
description: Members of the Knative Technical Oversight Committee (TOC)
maintainers: []
privacy: closed
Knative Release Leads:
privacy: closed
description: Active members of the Knative Release Leads rotation.
Expand Down
Loading