Skip to content

Commit

Permalink
Merge pull request #1149 from jfmartinz/jfmartinz-patch-1
Browse files Browse the repository at this point in the history
test auto-label
  • Loading branch information
jfmartinz authored Jun 14, 2024
2 parents 392fd37 + 28ca46d commit d953762
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
types: [opened]

permissions:
issues: write
pull-requests: write

jobs:
auto-label:
runs-on: ubuntu-latest
Expand All @@ -18,7 +22,7 @@ jobs:
const labelsToAdd = ["gssoc"];
if (context.issue.pull_request) {
// It's a Pull Request
await github.pulls.addLabels({
await github.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
Expand Down

0 comments on commit d953762

Please sign in to comment.