I tried in my workflow yaml file:
env:
RELEASE_VERSION: 1
RELEASE_SUBVERSION1: 0
RELEASE_SUBVERSION2: ${{ 31 - github.run_number }} # 31 is the current github.run_number + 1
But it doesn't seem that github allows such expressions.
How can I reset this counter?