Skip to content

Commit

Permalink
turn off sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
terrykong committed Sep 8, 2023
1 parent d2db17b commit 17802ad
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/_sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,38 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTIONS_STEP_DEBUG: true
sandbox:
runs-on: ubuntu-22.04
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
#sandbox:
# runs-on: ubuntu-22.04
# steps:
# - name: Login to GitHub Container Registry
# uses: docker/login-action@v2
# with:
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GITHUB_TOKEN }}

- name: Print usage
run: |
cat << EOF
This is an empty workflow file located in the main branch of your
repository. It serves as a testing ground for new GitHub Actions on
development branches before merging them to the main branch. By
defining and overloading this workflow on your development branch,
you can test new actions without affecting your main branch, ensuring
a smooth integration process once the changes are ready to be merged.
# - name: Print usage
# run: |
# cat << EOF
# This is an empty workflow file located in the main branch of your
# repository. It serves as a testing ground for new GitHub Actions on
# development branches before merging them to the main branch. By
# defining and overloading this workflow on your development branch,
# you can test new actions without affecting your main branch, ensuring
# a smooth integration process once the changes are ready to be merged.

Usage:
1. In your development branch, modify the sandbox.yml workflow file
to include the new actions you want to test. Make sure to commit
the changes to the development branch.
2. Navigate to the 'Actions' tab in your repository, select the
'~Sandbox' workflow, and choose your development branch from the
branch dropdown menu. Click on 'Run workflow' to trigger the
workflow on your development branch.
3. Once you have tested and verified the new actions in the Sandbox
workflow, you can incorporate them into your main workflow(s) and
merge the development branch into the main branch. Remember to
revert the changes to the sandbox.yml file in the main branch to
keep it empty for future testing.
EOF
# Usage:
#
# 1. In your development branch, modify the sandbox.yml workflow file
# to include the new actions you want to test. Make sure to commit
# the changes to the development branch.
# 2. Navigate to the 'Actions' tab in your repository, select the
# '~Sandbox' workflow, and choose your development branch from the
# branch dropdown menu. Click on 'Run workflow' to trigger the
# workflow on your development branch.
# 3. Once you have tested and verified the new actions in the Sandbox
# workflow, you can incorporate them into your main workflow(s) and
# merge the development branch into the main branch. Remember to
# revert the changes to the sandbox.yml file in the main branch to
# keep it empty for future testing.
# EOF

0 comments on commit 17802ad

Please sign in to comment.