Skip to content

Make None colum in Fuels_data optional #66

Make None colum in Fuels_data optional

Make None colum in Fuels_data optional #66

Workflow file for this run

name: PR Check
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
jobs:
# Enforces update of changelog file on every pull request
Changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: 'CHANGELOG.md'
skipLabels: 'Skip-Changelog'
token: ${{ secrets.GITHUB_TOKEN }}
missingUpdateErrorMessage: >
No update to CHANGELOG.md found! Please add an entry describing
your change and include the pull request tag. Note that we use
the keepachangelog format (https://keepachangelog.com). If your
change doesn’t require a changelog entry, please add the
'Skip-Changelog' label to the pull request.
# Check if the version number in the Project.toml file is updated
Version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check version number
if: github.event.pull_request.base.ref == 'develop'
shell: bash {0}
run: |
git fetch origin develop &> /dev/null
vdiff=$(git diff -U0 origin/develop -- Project.toml | grep -E "^\+" | grep "version =")
if [ -z "$vdiff" ];
then
echo "::error::Error: version number in Project.toml has not been updated." && exit 1
else
echo "Version number in Project.toml has been updated."
echo "New" ${vdiff:1}
fi