Net::G...ctions(3pm)

πŸ“¦
version 1.05 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸŽ€ NAME πŸŽ€

Net::GitHub::V3::Actions β€” it's literally the GitHub Actions API for your Perl era, bestie πŸ’…βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

use Net::GitHub::V3;

my $gh = Net::GitHub::V3->new; # read L<Net::GitHub::V3> to set right authentication info
my $actions = $gh->actions;

# set :user/:repo for simple calls
$actions->set_default_user_repo('fayland', 'perl-net-github');

$actions->workflows();
$actions->workflows( { owner => 'xxx', repo => 'repo' } );

✨ DESCRIPTION ✨

πŸ’– METHODS πŸ’–

πŸ”₯ GitHub Actions πŸ”₯

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


πŸŽ€ Artifacts πŸŽ€

https://developer.github.com/v3/actions/artifacts/

  • artifacts β€” no cap, this one lists all the artifacts for a repository. It's giving inventory energy 🫢
$actions->artifacts( { owner => 'xxx', repo => 'repo' } );
  • run_artifacts β€” grab the artifacts that belong to one specific run 🌈
$actions->run_artifacts( { owner => 'xxx', repo => 'repo', run_id => XXX } );
  • artifact β€” get you one single artifact by its id, main character energy only πŸ‘‘
$actions->artifacts( { owner => 'xxx', repo => 'repo', artifact_id => 'ID' } );

πŸ¦‹ Workflows πŸ¦‹

https://developer.github.com/v3/actions/workflows/

  • workflows β€” lists every workflow in the repo, the whole roster, periodt πŸ’…
$actions->workflows( { owner => 'xxx', repo => 'repo' } );
  • workflow β€” pulls up just one workflow when you already know which one you want πŸ”
$actions->workflow( { owner => 'xxx', repo => 'repo', workflow_id => 1234 } );

🌸 Workflow Jobs 🌸

https://developer.github.com/v3/actions/workflow-jobs/

  • jobs β€” List jobs for a workflow run 🌈
  • job β€” Get a workflow job ⭐

Refer Net::GitHub

okay that's the whole page, bestie, you ate it up πŸ’… This one came out of the User Contributed Perl Documentation pile, it's perl v5.36.0, dated 2022-10-08, and it's Net::GitHub::V3::Actions(3pm) β€” go forth and automate, ily 🫢✨

πŸ“¦ where this page comes from