You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Check this box to confirm that you understand that applying a tag using this action is only recommended for emergency rollback situations and that you understand the consequences.'
22
+
required: true
23
+
type: boolean
24
+
25
+
jobs:
26
+
publish_package:
27
+
runs-on: ubuntu-latest
28
+
29
+
steps:
30
+
- uses: actions/checkout@v4
31
+
- uses: actions/setup-node@v4
32
+
with:
33
+
node-version: 'lts/*'
34
+
35
+
- name: Fail if not confirmed
36
+
if: ${{ github.event.inputs.confirm != 'true' }}
37
+
run: |
38
+
echo "::error::You did not confirm, so dist-tag not called."
echo "You have confirmed that using this action is only recommended for emergency rollback situations and that you are responsible for manually applying the ${{ github.event.inputs.tag_name }} tag to ${{ github.event.inputs.package_name }}@${{ github.event.inputs.version }}."
0 commit comments