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

GitHub Actions support #1373

Open
gschaffner opened this issue Jan 29, 2020 · 25 comments
Open

GitHub Actions support #1373

gschaffner opened this issue Jan 29, 2020 · 25 comments

Comments

@gschaffner
Copy link

Docs here: https://developer.github.com/v3/actions/

Are there plans to add support for GitHub Actions? The API is still in beta, but I would suspect that it won't change much in the future.

@parzhitsky
Copy link

Isn't Actions still in beta?

@gschaffner
Copy link
Author

Looks like the beta ended in November [source]. The API is definitely still in beta though.

@sfdye
Copy link
Member

sfdye commented Mar 24, 2020

@sfdye
Copy link
Member

sfdye commented Mar 24, 2020

Pin this issue to get more attention

@sfdye sfdye pinned this issue Mar 24, 2020
@s-t-e-v-e-n-k
Copy link
Collaborator

s-t-e-v-e-n-k commented Apr 5, 2020

I won't split this issue up into six, but documenting progress as I get to them.

  • Artifacts
  • Secrets
  • Org secrets
  • Self-hosted runners
  • Workflows
  • Workflow jobs
  • Workflow runs

@cclauss
Copy link
Contributor

cclauss commented Apr 7, 2020

#1456 and #1457

@marns93
Copy link

marns93 commented Apr 30, 2020

Are there any plans, when the Actions API will be supported?

@sfdye
Copy link
Member

sfdye commented Apr 30, 2020

Not yet, but we are open to any granular PR to implement the checklist items ^

@s-t-e-v-e-n-k
Copy link
Collaborator

I have a local branch for Workflows, it requires some polish, tests and more importantly some free time.

@sfdye sfdye added this to To do in 1.60 May 2, 2020
@sfdye
Copy link
Member

sfdye commented May 11, 2020

I can take Secrets when I have some time.

@3wnbr1
Copy link

3wnbr1 commented May 14, 2020

Is somebody already working on Artifacts ? Otherwise I can take it

@sfdye
Copy link
Member

sfdye commented May 14, 2020

@3wnbr1 Feel free

@s-t-e-v-e-n-k
Copy link
Collaborator

I have a local branch that needs some more love for Workflow Runs.

@JacekPliszka
Copy link

@3wnbr1 what is the status of your artifacts?

I have list of artifacts and downloading artifact working but I have no tests and also my implementation need modification.

@salomvary
Copy link

@salomvary
Copy link

Another small thing: repo.get_workflow(id_or_name) fails if the id is int:

    "GET", self.url + "/actions/workflows/" + id_or_name
TypeError: can only concatenate str (not "int") to str

@zacker150
Copy link
Contributor

zacker150 commented Sep 7, 2020

I've added support for repo.get_workflow_runs parameters in PR #1682 and limited support for runners in #1684

@YannickJadoul
Copy link
Contributor

@JacekPliszka & @3wnbr1 What's the status of the artifacts API? I'd be happy to help out, if there's something I can do to push this forward :-)

@JacekPliszka
Copy link

@YannickJadoul I've proposed some reduction of boilerplatte and I pushed it to my branch https://github.com/JacekPliszka/PyGithub/tree/meta_artifacts but discussion was slow and I got involved in other work and the project I need it for was put on hold.

So you may want to use something from my branch or write it in the current style anew.

@YannickJadoul
Copy link
Contributor

@JacekPliszka, OK, great, thanks! :-) Where's this discussion you mention? Was that a public one, or just internally?

@plocket
Copy link

plocket commented Feb 22, 2021

Are repo or org secrets being handled in here or elsewhere?

@calebstewart
Copy link

Is secret deletion on the road map? I see that creating/updating secrets is already added (and I think it was being tracked here from what I can tell), but I don't see any interface to the delete API (as seen here )

@JacekPliszka
Copy link

@YannickJadoul here #1556 - the project I needed that for was put on hold so I lost motivation for rewriting what I did

@YannickJadoul
Copy link
Contributor

@JacekPliszka, thanks. I had actually found it, back then, and created #1734, recycling part of your original work on this.

@ghost
Copy link

ghost commented Jun 8, 2021

not exactly a python developer, but it looks like org-scope and enterprise-scope self-hosted runner endpoints are missing too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1.60
  
To do
Development

No branches or pull requests