File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878
7979 - name : Fetch new release changelog
8080 if : ${{ env.release != env.local && env.release != null }}
81- run : echo releaseChangelog=$((curl -sL ${{env.versionApi}} ) | jq -r ".body") >> $GITHUB_ENV
81+ # Fetches changelog and filters out any issue references
82+ run : |
83+ changelog=$(curl -sL ${{env.versionApi}} | jq -r ".body" | sed -e 's/#[0-9]\+//g')
84+ echo $changelog
85+ echo releaseChangelog=$changelog >> $GITHUB_ENV
8286
8387 - name : Upgrade Scanner Helm Chart
8488 if : ${{ env.release != env.local && env.prExists == 0 && env.release != null}}
@@ -134,12 +138,12 @@ jobs:
134138 committer : secureCodeBoxBot <securecodebox@iteratec.com>
135139 author : secureCodeBoxBot <securecodebox@iteratec.com>
136140 title : ${{ env.pullRequest }}
137- body : " This is an automated Pull Request by the SCB-Bot. It upgrades ${{ matrix.scanner }} from ${{env.local}} to ${{env.release}}"
138- branch : " dependencies/upgrading-${{ matrix.scanner }}-to-${{env.release}}"
139- labels : dependencies,scanner
140- commit-message : |
141- Upgrading ${{ matrix.scanner }} from ${{env.local}} to ${{env.release}}
141+ body : |
142+ "This is an automated Pull Request by the SCB-Bot. It upgrades ${{ matrix.scanner }} from ${{env.local}} to ${{env.release}}"
142143 ## Release changes :
143144 ${{env.releaseChangelog}}
145+ branch : " dependencies/upgrading-${{ matrix.scanner }}-to-${{env.release}}"
146+ labels : dependencies,scanner
147+ commit-message : " Upgrading ${{ matrix.scanner }} from ${{env.local}} to ${{env.release}}"
144148 signoff : true
145149 base : main
You can’t perform that action at this time.
0 commit comments