1Net::GitHub::V3::ActionUss(e3r)Contributed Perl DocumentNaetti:o:nGitHub::V3::Actions(3)
2
3
4

NAME

6       Net::GitHub::V3::Actions - GitHub Actions API
7

SYNOPSIS

9           use Net::GitHub::V3;
10
11           my $gh = Net::GitHub::V3->new; # read L<Net::GitHub::V3> to set right authentication info
12           my $actions = $gh->actions;
13
14           # set :user/:repo for simple calls
15           $actions->set_default_user_repo('fayland', 'perl-net-github');
16
17           $actions->workflows();
18           $actions->workflows( { owner => 'xxx', repo => 'repo' } );
19

DESCRIPTION

21   METHODS
22       GitHub Actions
23
24       <https://developer.github.com/v3/actions/>
25
26       Artifacts
27
28       <https://developer.github.com/v3/actions/artifacts/>
29
30       artifacts
31           List artifacts for a repository
32
33               $actions->artifacts( { owner => 'xxx', repo => 'repo' } );
34
35       run_artifacts
36               $actions->run_artifacts( { owner => 'xxx', repo => 'repo', run_id => XXX } );
37
38       artifact
39               $actions->artifacts( { owner => 'xxx', repo => 'repo', artifact_id => 'ID' } );
40
41       Workflows
42
43       <https://developer.github.com/v3/actions/workflows/>
44
45       workflows
46           List repository workflows
47
48               $actions->workflows( { owner => 'xxx', repo => 'repo' } );
49
50       workflow
51           Get a workflow
52
53               $actions->workflow( { owner => 'xxx', repo => 'repo', workflow_id => 1234 } );
54
55       Workflow Jobs
56
57       <https://developer.github.com/v3/actions/workflow-jobs/>
58
59       jobs
60           List jobs for a workflow run
61
62       job Get a workflow job
63
65       Refer Net::GitHub
66
67
68
69perl v5.36.0                      2023-01-20       Net::GitHub::V3::Actions(3)
Impressum