Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/setup-python from 2 to 4.1.0 #23

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
837eb72
Create test2.yml
tkknight Jan 10, 2022
2a5bdf4
Merge pull request #8 from tkknight/tkknight-patch-1
tkknight Jan 10, 2022
04e26ca
gha test
tkknight Jan 10, 2022
6becc0a
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
2476aa8
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
4cd47bd
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
c58834b
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
08094be
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
5e22ee3
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
d8ae094
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
7d7ede4
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
23d5afd
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
bc1c3a2
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
7082c12
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
1337a91
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
73f8de7
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
bc016bd
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
15a05a9
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
08c2fb3
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
c58d6ad
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
737ea8a
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
192b520
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
f4af402
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
586ca36
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
5a2c6f8
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
8ddc02e
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
46f574e
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
954d5d7
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
ac506f2
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
492e00c
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
1b6ff8f
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
3a9e1ed
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
7b6c3fe
Update refresh-votable-issues.yml
tkknight Jan 10, 2022
61a94aa
Merge branch 'main' of github.com:tkknight/iris into main
tkknight Mar 2, 2022
d2c45b1
Merge remote-tracking branch 'upstream/main' into main
tkknight Mar 13, 2022
de4eaf4
Bump actions/setup-python from 2 to 4.1.0
dependabot[bot] Jul 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/refresh-votable-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Uses Github API to get a list of issues that have votes on and then
# update a gist with the results in json

name: Refresh Votable Issues
on:
workflow_dispatch:
branches: [ votable_issues ]
jobs:
votable_main:
runs-on: ubuntu-latest
steps:
# Checks-out your repositories under $GITHUB_WORKSPACE, so your job can access it
- name: checkout iris
uses: actions/checkout@v2
with:
repository: tkknight/iris
ref: votable_issues
path: iris

- name: checkout the repo with the json to update
uses: actions/checkout@v2
with:
# TODO: use the proper repo!
repository: tkknight/votable_issues
ref: main
path: votable_issues

# setup python
- name: Set up Python 3.9
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install PyGithub
# run the python scripts passing in the github token
- name: Run the python
run: |
export GH_TOKEN=${{ secrets.GITHUB_TOKEN }}
python $GITHUB_WORKSPACE/iris/docs/src/query_gh_votable_issues.py
ls -al $GITHUB_WORKSPACE
# update the reop with the new file, try https://github.com/marketplace/actions/update-files-on-github
# JP suggests: https://github.com/MetOffice/ssstack/blob/main/.github/workflows/publish-docs.yml