mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 06:11:57 +00:00
fix: fixed env secret
This commit is contained in:
committed by
GitHub
parent
fb910000ff
commit
5604b488c5
7
.github/workflows/4_bumper_repository.yml
vendored
7
.github/workflows/4_bumper_repository.yml
vendored
@@ -5,7 +5,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: 'Target version (e.g. 4.13.0)'
|
description: 'Target version (e.g. 4.12.0)'
|
||||||
default: ''
|
default: ''
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
@@ -31,7 +31,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
bump:
|
bump:
|
||||||
name: Repository bumper
|
name: Repository bumper
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
issue_number=$(echo "${{ inputs.issue-link }}" | awk -F'/' '{print $NF}')
|
issue_number=$(echo "${{ inputs.issue-link }}" | awk -F'/' '{print $NF}')
|
||||||
BRANCH_NAME="enhancement/docker${issue_number}-bump-${{ github.ref_name }}"
|
BRANCH_NAME="enhancement/wqa${issue_number}-bump-${{ github.ref_name }}"
|
||||||
echo "branch_name=$BRANCH_NAME" >> $GITHUB_OUTPUT
|
echo "branch_name=$BRANCH_NAME" >> $GITHUB_OUTPUT
|
||||||
echo "script_params=${script_params}" >> $GITHUB_OUTPUT
|
echo "script_params=${script_params}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
@@ -124,6 +124,7 @@ jobs:
|
|||||||
--body "Issue: ${{ inputs.issue-link }}" \
|
--body "Issue: ${{ inputs.issue-link }}" \
|
||||||
--base ${{ github.ref_name }} \
|
--base ${{ github.ref_name }} \
|
||||||
--head ${{ steps.vars.outputs.branch_name }})
|
--head ${{ steps.vars.outputs.branch_name }})
|
||||||
|
|
||||||
echo "Pull request created: ${PR_URL}"
|
echo "Pull request created: ${PR_URL}"
|
||||||
echo "pull_request_url=${PR_URL}" >> $GITHUB_OUTPUT
|
echo "pull_request_url=${PR_URL}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user