Skip to content

Bump github/codeql-action from 3.27.0 to 3.27.4 #11

Bump github/codeql-action from 3.27.0 to 3.27.4

Bump github/codeql-action from 3.27.0 to 3.27.4 #11

Workflow file for this run

on: [push]
jobs:
find-and-replace-job:
runs-on: ubuntu-latest
name: 'Find and replace on a string'
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run find-and-replace to remove refs/heads/
uses: ./
id: findandreplace
with:
source: ${{ github.ref }}
find: 'refs/heads/'
replace: ''
- name: Get the above output
run: echo "The replaced value is ${{ steps.findandreplace.outputs.value }}"
- name: Run find-and-replace to remove slashes
uses: ./
id: findandreplace2
with:
source: ${{ steps.findandreplace.outputs.value }}
find: '/'
replace: '-'
- name: Get the final output
run: echo "The replaced value is ${{ steps.findandreplace2.outputs.value }}"