GitHub Custom JavaScript Action to check the available environments.
This GitHub Action provides a reusable composite workflow that sets up Python and interacts with the GitHub API to post a comment on an issue, including a link to a created branch.
Name | Description | Required | Default |
---|---|---|---|
token |
GitHub token used for API authentication. | Yes | — |
name: "Check Environments"
on:
workflow_dispatch
jobs:
check-envs:
runs-on: ubuntu-latest
steps:
- name: Check Environments
id: check
uses: subhamay-bhattacharyya-gha/check-environments-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Show Environment Status
run: |
echo "Environment status: ${{ steps.check.outputs.env_status }}"
MIT