-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3eb803d
commit 8c4159e
Showing
1 changed file
with
27 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |