Skip to content

Commit

Permalink
chore: trying ci diagnosis
Browse files Browse the repository at this point in the history
  • Loading branch information
thorwhalen committed Dec 10, 2024
1 parent 3eb803d commit 8c4159e
Showing 1 changed file with 27 additions and 19 deletions.
46 changes: 27 additions & 19 deletions actions/ci-diagnosis/action.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
name: "CI Diagnosis"
name: CI Diagnosis
description: "Diagnose the CI process, setup etc."
runs:
using: 'composite'
steps:

# See https://graphite.dev/guides/github-actions-variables
# GITHUB_REPOSITORY: The owner and repository name. For example, octocat/Hello-World.
# GITHUB_REF: The branch or tag ref that triggered the workflow.
# GITHUB_WORKSPACE: The GitHub workspace directory path.
# GITHUB_WORKFLOW: The name of the workflow.
# GITHUB_ACTOR: The name of the person or app that initiated the workflow.
# GITHUB_SHA: The commit SHA that triggered the workflow.
on:
push:
branches:
- master

- name: Print environment variables
run: |
echo "GITHUB_REPOSITORY: $GITHUB_REPOSITORY"
echo "GITHUB_REF: $GITHUB_REF"
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
echo "GITHUB_WORKFLOW: $GITHUB_WORKFLOW"
echo "GITHUB_ACTOR: $GITHUB_ACTOR"
echo "GITHUB_SHA: $GITHUB_SHA"
jobs:
diagnose:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

# See https://graphite.dev/guides/github-actions-variables
# GITHUB_REPOSITORY: The owner and repository name. For example, octocat/Hello-World.
# GITHUB_REF: The branch or tag ref that triggered the workflow.
# GITHUB_WORKSPACE: The GitHub workspace directory path.
# GITHUB_WORKFLOW: The name of the workflow.
# GITHUB_ACTOR: The name of the person or app that initiated the workflow.
# GITHUB_SHA: The commit SHA that triggered the workflow.
- name: Print GitHub environment variables
run: |
echo "Repository name: $GITHUB_REPOSITORY"
echo "Branch or tag ref: $GITHUB_REF"
echo "Workspace directory: $GITHUB_WORKSPACE"
echo "Workflow name: $GITHUB_WORKFLOW"
echo "Actor (user or app): $GITHUB_ACTOR"
echo "Commit SHA: $GITHUB_SHA"

0 comments on commit 8c4159e

Please sign in to comment.