Skip to content

Commit

Permalink
ED-4000 feat: Github actions instead of Jenkins-test-sonar-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
princegupta1131 committed Jun 14, 2024
1 parent 25c0a17 commit 3cf516d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,10 @@ jobs:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
steps:
- name: Download branch name
uses: actions/download-artifact@v3
with:
name: branch-name

- name: Read branch name
id: read_branch_name
run: |
branch_name=$(cat branch.txt)
echo "branch_name=$branch_name" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ env.branch_name }}
ref: 8.0.0_github_action # Checkout the branch where the original workflow was triggered

- name: Print SONAR_TOKEN
run: echo "SONAR_TOKEN=${{ secrets.SONAR_TOKEN }}PWR****123"
Expand Down

0 comments on commit 3cf516d

Please sign in to comment.