We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0837923 commit 9712628Copy full SHA for 9712628
.github/workflows/autolabler.yml
@@ -43,3 +43,17 @@ jobs:
43
});
44
45
console.log(`Added labels [recode, level 1, hacktoberfest-accepted] to Issue #${issueNumber}`);
46
+
47
+ - name: Set Issue Type to Bug
48
+ if: github.event_name == 'issues'
49
+ run: |
50
+ ISSUE_NUMBER=${{ github.event.issue.number }}
51
+ REPO=${{ github.repository }}
52
+ TOKEN=${{ secrets.GITHUB_TOKEN }}
53
54
+ curl --request PATCH \
55
+ --url https://api.github.com/repos/${REPO}/issues/${ISSUE_NUMBER} \
56
+ --header "authorization: token ${TOKEN}" \
57
+ --header "content-type: application/json" \
58
+ --data '{"type":"Bug"}'
59
0 commit comments