From d20cdc3052cec56503da2f0d826c4293093cdd40 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Tue, 16 Apr 2024 06:23:04 -0500 Subject: [PATCH 1/5] RFC: Moving to UXL foundation org --- RFC/001-uxlfoundation-github-org.rst | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 RFC/001-uxlfoundation-github-org.rst diff --git a/RFC/001-uxlfoundation-github-org.rst b/RFC/001-uxlfoundation-github-org.rst new file mode 100644 index 0000000..a4acbd2 --- /dev/null +++ b/RFC/001-uxlfoundation-github-org.rst @@ -0,0 +1,38 @@ +=========================================== +Moving to uxlfoundation GitHub Organization +=========================================== + +Move repo to https://github.com/uxlfoundation/oneapi-spec + +Background +========== + +Repo is currently location in https://github.com/oneapi-src organization. The +repo is being moved to uxlfoundation organization because oneapi-src is owned by +Intel and contains projects that are not part of UXL. + +How it will happen +================== + +The repo will be moved to the new org, including PR's, issues, etc. The +following teams will be created in the uxlfoundation org with the same +membership: + +* oneapi-spec-maintainers +* oneapi-spec-owners + +Documentation that is hosted in GitHub pages will move. Redirects will be setup +for the top level: + +* https://oneapi-src.github.io/oneAPI-spec/spec/ +* https://oneapi-src.github.io/oneAPI-spec/spec/oneAPI-spec.pdf + + +GitHub automatically forwards traffic to the old URL to the new URL, so links +and git remotes will continue to work. + +Auto-completion of names, e.g. ``@rscohn2`` only works for org members so that +may no longer work. Feel free to request that names be added to uxlfoundation +org. + +When: 4/22/2024 From 0453c69ae281f0cc6f34e71169bd4a8a43eaa6ac Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Tue, 16 Apr 2024 07:30:21 -0500 Subject: [PATCH 2/5] update --- .github/workflows/slack.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/slack.yaml b/.github/workflows/slack.yaml index d31f4b3..0f6d044 100644 --- a/.github/workflows/slack.yaml +++ b/.github/workflows/slack.yaml @@ -11,15 +11,13 @@ jobs: id: check run: | if [[ "${{ github.event.pull_request.title }}" == *"RFC"* ]]; then - echo "::set-output name=notify::true" - else - echo "::set-output name=notify::false" + echo "NOTIFY_SLACK=true" >> $GITHUB_ENV fi - name: Notify Slack - if: steps.check.outputs.notify == 'true' + if: env.NOTIFY_SLACK == 'true' uses: slackapi/slack-github-action@v1.25.0 with: + channel-id: "rc-test" slack-message: "${{ github.actor }} opened a new RFC: ${{ github.event.pull_request.title }}" - slack-channel: '#wg-spec' env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} From 7b87216b5e4fef69e5c5c9847fc288657e34d457 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Tue, 16 Apr 2024 07:34:57 -0500 Subject: [PATCH 3/5] update --- .github/workflows/slack.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/slack.yaml b/.github/workflows/slack.yaml index 0f6d044..077e1b8 100644 --- a/.github/workflows/slack.yaml +++ b/.github/workflows/slack.yaml @@ -20,4 +20,5 @@ jobs: channel-id: "rc-test" slack-message: "${{ github.actor }} opened a new RFC: ${{ github.event.pull_request.title }}" env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + #SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + SLACK_BOT_TOKEN: foobar From a71d64992f55eab5272c25311b85af950b270c20 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Tue, 16 Apr 2024 07:48:03 -0500 Subject: [PATCH 4/5] update --- .github/workflows/slack.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/slack.yaml b/.github/workflows/slack.yaml index 077e1b8..7c07938 100644 --- a/.github/workflows/slack.yaml +++ b/.github/workflows/slack.yaml @@ -20,5 +20,5 @@ jobs: channel-id: "rc-test" slack-message: "${{ github.actor }} opened a new RFC: ${{ github.event.pull_request.title }}" env: - #SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - SLACK_BOT_TOKEN: foobar + SLACK_BOT_TOKEN: ${{ secrets.XXX }} + #SLACK_BOT_TOKEN: foobar From 63e7ef1899af9854cf248a0d2cb620b5b13de1e8 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Tue, 16 Apr 2024 08:35:13 -0500 Subject: [PATCH 5/5] update --- .github/workflows/slack.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/slack.yaml b/.github/workflows/slack.yaml index 7c07938..a3e6c94 100644 --- a/.github/workflows/slack.yaml +++ b/.github/workflows/slack.yaml @@ -1,6 +1,7 @@ name: Slack PR Notification on: - pull_request: + # pull request target uses base and has access to secrets + pull_request_target: types: [opened, reopened] jobs: @@ -20,5 +21,4 @@ jobs: channel-id: "rc-test" slack-message: "${{ github.actor }} opened a new RFC: ${{ github.event.pull_request.title }}" env: - SLACK_BOT_TOKEN: ${{ secrets.XXX }} - #SLACK_BOT_TOKEN: foobar + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}