Skip to content

Commit

Permalink
Update ticket_description.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Custodio <[email protected]>
  • Loading branch information
leonardocustodio authored Oct 12, 2024
1 parent 0b0b007 commit d054561
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/ticket_description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,13 @@ on:
push:

jobs:
logLatestRelease:
update:
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
id: get_latest_release
with:
query: |
mutation issueUpdate($input: IssueUpdateInput!, $issueUpdateId: String!) {
issueUpdate(input: $input, id: $issueUpdateId) {
success
}
}
variables: |
input: '{ "description": "test" }'
issueUpdateId: "PLA-2033"
headers: '{ "Authorization": "test" }'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: "echo 'latest release: ${{ steps.get_latest_release.outputs.data }}'"
- name: Deploy Stage
uses: fjogeleit/http-request-action@v1
with:
url: 'https://api.linear.app/graphql'
method: 'POST'
customHeaders: '{"Content-Type": "application/json", "Authorization": "test"}'
data: '{"query": "{ issueUpdate(input: \"test\", id: \"PLA-2033\") { success } }" }'

0 comments on commit d054561

Please sign in to comment.