Skip to content

Commit

Permalink
[github] auto milestone, fix grapql query
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 10, 2020
1 parent 6e17170 commit 2f99b91
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pr-auto-milestone.yml
Expand Up @@ -17,8 +17,8 @@ jobs:
id: graphql_request
with:
query: |
query list_tags_milestones($owner: String!, $repo: String!) {
repository(owner: $owner, name: $repo) {
query {
repository(owner: "qgis", name: "QGIS") {
pullRequests(states: OPEN, last: 100) {
edges {
node {
Expand All @@ -39,6 +39,7 @@ jobs:
}
}
}
}
milestones(orderBy: {field: CREATED_AT, direction: DESC}, first: 50) {
edges {
node {
Expand All @@ -56,8 +57,6 @@ jobs:
}
}
}
owner: ${{ github.event.pull_request.base.repo.owner.login }}
repo: ${{ github.event.pull_request.base.repo.name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 2f99b91

Please sign in to comment.