Skip to content

Commit 1bfad20

Browse files
Testing Changes and get-version file changes
1 parent bdae3cf commit 1bfad20

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/actions/get-version/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@ runs:
1717
- id: get_version
1818
shell: bash
1919
run: |
20-
VERSION=$(echo ${BRANCH_NAME} | sed -r 's#release/+##g')
20+
VERSION=$(head -1 .version)
2121
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
22-
env:
23-
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ on:
44
pull_request:
55
types:
66
- closed
7+
workflow_dispatch:
8+
push:
9+
branches:
10+
- 'add-reversing-labs'
11+
712

813
permissions:
914
contents: write
15+
id-token: write # This is required for requesting the JWT
1016

1117
### TODO: Replace instances of './.github/actions/' w/ `auth0/dx-sdk-actions/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
1218
### TODO: Also remove `get-prerelease`, `get-version`, `release-create`, `tag-create` and `tag-exists` actions from this repo's .github/actions folder once the repo is public.

.github/workflows/rl-scanner.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,10 @@ on:
2525

2626
jobs:
2727
rl-scanner:
28-
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
2928
runs-on: ubuntu-latest
3029
outputs:
3130
scan-status: ${{ steps.rl-scan-conclusion.outcome }}
3231

33-
permissions:
34-
php-version: write
35-
id-token: write # This is required for requesting the JWT
36-
3732
steps:
3833
- name: Checkout code
3934
uses: actions/checkout@v4

0 commit comments

Comments
 (0)