Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
UuuNyaa committed Mar 4, 2021
1 parent b5cef60 commit 94ea177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build asset
run: |
python cat_asset_json.py UuuNyaa/blender_mmd_assets "{'state': 'open'}" > assets.json
python cat_asset_json.py UuuNyaa/blender_mmd_assets "{'state': 'open', 'milestone': 1}" > assets.json
zip -r -9 artifact.zip assets.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions cat_asset_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def to_asset(issue):
'enhancement',
'invalid',
'question',
] and (not label.startswith('type='))
] and ('=' not in label)
}

types = [
Expand Down Expand Up @@ -238,7 +238,7 @@ def check(property: str) -> bool:
if len(sys.argv) == 3:
query = ast.literal_eval(sys.argv[2])
else:
query = {'state': 'open', 'labels': 'Official'}
query = {'state': 'open', 'milestone': 1, 'labels': 'Official'}

session = requests.Session()
session.auth = (None, token)
Expand Down

0 comments on commit 94ea177

Please sign in to comment.