DOKK / manpages / debian 12 / libpithub-perl / Pithub::Repos::Actions::Workflows.3pm.en
Pithub::Repos::Actions::Workflows(3pm) User Contributed Perl Documentation Pithub::Repos::Actions::Workflows(3pm)

Pithub::Repos::Actions::Workflows - Github v3 Repo Actions Workflows API

version 0.01040

This class is incomplete. It's currently missing support for "dispatches", "enable" and "timing". Please send patches for any additional functionality you may require.

Get a single workflow.

    GET /repos/:owner/:repo/actions/workflows/:id
    

Examples:

    my $a      = Pithub::Repos::Actions::Workflows->new;
    my $result = $a->get(
        repo        => 'graylog2-server',
        user        => 'Graylog2',
        workflow_id => 81148,
    );
    

List workflows for a repo.

    GET /repos/:owner/:repo/actions/workflows
    

Examples:

    my $a = Pithub::Repos::Actions::Workflows->new;
    my $result = $a->list(
        repo       => 'graylog2-server',
        user       => 'Graylog2',
    );
    

Johannes Plunien <plu@cpan.org>

This software is copyright (c) 2011 by Johannes Plunien.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-10-04 perl v5.34.0