Skip to content

Commit

Permalink
Revert "Using a different action"
Browse files Browse the repository at this point in the history
This reverts commit 691b27a.
  • Loading branch information
tadaspetra committed Dec 8, 2024
1 parent 691b27a commit 1d4318c
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/create-discussions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,25 +102,14 @@ jobs:
echo "year=$(date +%Y)" >> $GITHUB_OUTPUT
- name: Create Discussion
uses: octokit/[email protected]
id: create_discussion
uses: abirismyname/[email protected]
with:
route: POST /graphql
query: |
mutation createDiscussion($repositoryId: ID!, $categoryId: ID!, $title: String!, $body: String!) {
createDiscussion(input: {repositoryId: $repositoryId, categoryId: $categoryId, title: $title, body: $body}) {
discussion {
id
url
}
}
}
repositoryId: ${{ secrets.REPO_ID }}
categoryId: ${{ secrets.CAT_ID }}
title: "Vote ${{ steps.app-data.outputs.year }}: ${{ steps.app-data.outputs.name }} by ${{ steps.app-data.outputs.author }}"
title: "Vote 2024: ${{ steps.app-data.outputs.name }} by ${{ steps.app-data.outputs.author }}"
body: |
**Vote for this app by giving it an upvote!**
${{ steps.app-data.outputs.description }}
repository-id: ${{ secrets.REPO_ID }}
category-id: ${{ secrets.CAT_ID }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1d4318c

Please sign in to comment.