Fix/finding #18 Prevent Memory Overwrite in withdrawDepositTo Function #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Automation Workflow | |
on: | |
pull_request: | |
branches: | |
- release/* | |
- fix/* | |
jobs: | |
check-files: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Check package.json | |
uses: tj-actions/[email protected] | |
id: package-json | |
with: | |
files: | | |
package.json | |
- name: Check CHANGELOG.md | |
uses: tj-actions/[email protected] | |
id: changelog | |
with: | |
files: | | |
CHANGELOG.md | |
- name: Verify Changes | |
run: | | |
MISSING_UPDATES=() | |
if [[ "${{ steps.package-json.outputs.any_changed }}" == 'false' ]]; then | |
MISSING_UPDATES+=("package.json") | |
fi | |
if [[ "${{ steps.changelog.outputs.any_changed }}" == 'false' ]]; then | |
MISSING_UPDATES+=("CHANGELOG.md") | |
fi | |
if [ ${#MISSING_UPDATES[@]} -ne 0 ]; then | |
echo "Error: The version should be updated on following files: ${MISSING_UPDATES[*]}" | |
exit 1 | |
fi |