From 434f8cb5cff334043945830d6aaf3253999ceae4 Mon Sep 17 00:00:00 2001 From: Leonardo Custodio Date: Sat, 12 Oct 2024 03:49:41 +0400 Subject: [PATCH] Create ticket_description.yml Signed-off-by: Leonardo Custodio --- .github/workflows/ticket_description.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ticket_description.yml diff --git a/.github/workflows/ticket_description.yml b/.github/workflows/ticket_description.yml new file mode 100644 index 00000000..020a80ca --- /dev/null +++ b/.github/workflows/ticket_description.yml @@ -0,0 +1,23 @@ +name: Linear Description Update +on: + push: + +jobs: + logLatestRelease: + runs-on: ubuntu-latest + steps: + - uses: octokit/graphql-action@v2.x + id: get_latest_release + with: + headers: "Authorization: lin_api_mcHNiDcj52I6V9piHS7ZB9r3wFbCCXOOiaFB3sRM" + query: | + mutation issueUpdate($input: IssueUpdateInput!, $issueUpdateId: String!) { + issueUpdate(input: $input, id: $issueUpdateId) { + success + } + } + input: "test" + issueUpdateId: "PLA-2033" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - run: "echo 'latest release: ${{ steps.get_latest_release.outputs.data }}'"