Net::G...ctions(3pm)
π 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 β
π AUTHOR & COPYRIGHT & LICENSE π
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
- ubuntu noble: libnet-github-perl 1.05-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-github-perl 1.05-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-github-perl 1.05-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms