Skip to content

Commit

Permalink
Testing Changes and get-version file edit
Browse files Browse the repository at this point in the history
  • Loading branch information
kishore7snehil committed Oct 28, 2024
1 parent 27bd3d7 commit 685a66d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/actions/get-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ runs:
- id: get_version
shell: bash
run: |
VERSION=$(echo ${BRANCH_NAME} | sed -r 's#release/+##g')
VERSION=$(head -1 .version)
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
env:
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ on:
pull_request:
types:
- closed
workflow_dispatch:
push:
branches:
- 'add-reversing-labs'

permissions:
contents: write
id-token: write # This is required for requesting the JWT

### TODO: Replace instances of './.github/actions/' w/ `auth0/dx-sdk-actions/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
### 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.
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/rl-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,10 @@ on:

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

permissions:
php-version: write
id-token: write # This is required for requesting the JWT

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -45,7 +40,7 @@ jobs:
with:
php-version: ${{ inputs.php-version }}

- name: Build Laravel
- name: Build Symfony
shell: bash
run: |
zip -r ${{ inputs.artifact-name }} ./*
Expand Down

0 comments on commit 685a66d

Please sign in to comment.