Skip to content

Update tags (#28)

Update tags (#28) #1

# Tests this action failure by the application not being installed on the repository
name: Test Failure - repository - not installed
on:
push:
workflow_dispatch:
jobs:
test_failure:
runs-on: ubuntu-latest
continue-on-error: true
outputs:
action_step_outcome: ${{ steps.use_action.outcome }}
action_step_conclusion: ${{ steps.use_action.conclusion }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use action
id: use_action
uses: ./
with:
application_id: ${{ secrets.APPLICATION_ID_NOT_INSTALLED }}
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY_NOT_INSTALLED }}
validate_results:
needs: test_failure
runs-on: ubuntu-latest
steps:
- name: Validate failure
if: needs.test_failure.outputs.action_step_outcome != 'failure'
run: |
echo "Outcome: ${{ needs.test_failure.outputs.action_step_outcome }}"
echo "Conclusion: ${{ needs.test_failure.outputs.action_step_conclusion }}"
echo "Outcome should have been failure for an application that is not installed."
exit 1