-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
This discussion is about a meeting of the OpenAPI Overlays group. | ||
We meet on alternate Tuesdays at 08:00 Pacific time, and this is a public meeting. | ||
|
||
|
||
|
||
Meeting link: | ||
|
||
|
||
|
||
This meeting is covered by the [OpenAPI Initiative Code of Conduct](https://github.com/OAI/Arazzo-Specification/?tab=coc-ov-file#readme). | ||
|
||
|
||
|
||
Add comments to this discussion to add items to the agenda for the meeting. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Create meeting template | ||
|
||
on: | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
create-discussion: | ||
permissions: | ||
discussions: write | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Get agenda text from template | ||
id: get-agenda | ||
run: | | ||
echo 'AGENDA<<EOF' >> $GITHUB_ENV | ||
cat .github/templates/agenda.md >> $GITHUB_ENV | ||
echo 'EOF' >> $GITHUB_ENV | ||
- name: Create discussion with agenda | ||
id: create-repository-discussion | ||
uses: octokit/graphql-action@v2.x | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
variables: | ||
| | ||
body: "${{ env.AGENDA }}" | ||
title: "Overlays Meeting" | ||
repositoryId: 'MDEwOlJlcG9zaXRvcnkzNTk4NjU5MDI=' | ||
categoryId: 'DIC_kwDOFXMeLs4COVB8' | ||
query: | | ||
mutation CreateDiscussionMutation ($title: String!, $body: String!, $repositoryId: ID!, $categoryId: ID!) { | ||
createDiscussion(input: { title: $title, body: $body, repositoryId: $repositoryId, categoryId: $categoryId }) { | ||
discussion { | ||
title | ||
} | ||
} | ||
} | ||