Skip to content

pew-actions/repo-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

repo-data Action

A helper action for easily pulling data from repository

Note: The Vault Github Action is a read-only action, and in general is not meant to modify repository state.

Authentication by provider

GitHub

env.PEW_GITHUB_APPID: The application ID to use for GitHub authentication. This defaults to the PlayEveryWare builder applciation env.PEW_GITHUB_KEY: Private key used for authentication with the GitHub application.

GitLab

env.PEW_GITLAB_TOKEN: Access Token used for authentication with the Gitlab application.

Bitbucket

This repository currently uses App Passwords for Bitbucket env.PEW_BITBUCKET_USERNAME: Bitbucket username env.PEW_BITBUCKET_PASSWORD: Bitbucket app password

Outputs

outputs.token: Token that can be used to fetch from the repository with pew-actions/checkout

File content examples

jobs:
    build:
        # ...
        steps:
            # ...
            - name: Get repository data
              uses: pew-actions/repo-data@v1
              with:
                files: |
                    .pew/build.yml | PEW_BUILD ;
                    .pew/Dockerfile | PEW_DOCKERFILE ;
            # ...

Retrieved files are available as environment variables or outputs for subsequent steps:

About

Get repository data

Resources

Stars

Watchers

Forks

Packages

No packages published