Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

utility functions and tasks using GitHub Actions mainly to debug code

License

Notifications You must be signed in to change notification settings

wechuli/actionsutils

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

actionsutils

utility functions and tasks using GitHub Actions mainly to debug code

If you want to perform more than a single task on one debug step, provide a comma separated values with the steps.

Options

  • create-artifact - choose whether you would like to create artifacts for each task.

Suported Tasks

  • context
  • oidctoken
  • envs

context

This simply prints out the github context which corresponds to the webhook payload. This is the default behavior if no other task is provided

 - uses: wechuli/actionsutils@v1.0.0
 with:
 tasks: 'context'

oidctoken

Prints out the decoded OIDC token. You must grant the workflow/job id-token permission for this to work

jobs:
 testjob:
 permissions:
 contents: write
 id-token: write
 runs-on: ubuntu-latest
 steps: 
 - uses: wechuli/actionsutils@v1.0.0
 with:
 tasks: 'oidctoken'

envs

Prints out all the environment variables available for the runner:

jobs:
 testjob:
 permissions:
 contents: write
 id-token: write
 runs-on: ubuntu-latest
 steps: 
 - uses: wechuli/actionsutils@v1.0.0
 with:
 tasks: 'envs'

About

utility functions and tasks using GitHub Actions mainly to debug code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /