0
0

add files

This commit is contained in:
2025-05-16 10:34:55 +02:00
parent 6bc473bdd9
commit 10d6c1480e
2 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
name: Check Channel Security Input
on:
workflow_call:
inputs:
channel:
required: true
type: string
channelInput:
required: true
type: string
jobs:
UpdateRelease:
runs-on: ubuntu-latest
steps:
- name: Read Tag
run: |
channel="${{ inputs.channel }}"
if [ "$channel" = "internal" ]; then
echo "Channel is internal"
exit 0
fi
if [ "$channel" != "${{ inputs.channelInput }}" ]; then
echo "Channel and channelInput do not match"
exit 1
fi
echo "Channel and channelInput match"
exit 0