diff --git a/action.yml b/action.yml index 56d04d0..8d38871 100644 --- a/action.yml +++ b/action.yml @@ -1,20 +1,12 @@ -# steps: -# - ... -# - uses: docker-library/bashbrew -# - ... - -name: 'Install Bashbrew' -description: 'Install the "bashbrew" tool in GITHUB_PATH' -runs: - using: 'composite' - steps: - - uses: actions/setup-go@v3 - with: - go-version-file: '${{ github.action_path }}/go.mod' - - run: | - '${{ github.action_path }}/bashbrew.sh' --version > /dev/null - '${{ github.action_path }}/bin/bashbrew' --version - echo '${{ github.action_path }}/bin' >> "$GITHUB_PATH" - echo 'BASHBREW_SCRIPTS=${{ github.action_path }}/scripts' >> "$GITHUB_ENV" - shell: 'bash -Eeuo pipefail -x {0}' - +run-name: Deploy to ${{ inputs.deploy_target }} by @${{ github.actor }} +on: + branch_protection_rule: + types: [created, deleted] + on: + check_run: + types: [rerequested, completed] + on: + check_suite: + types: [completed] + +