TheCGO / fiscalsim-us

FiscalSim US is a microsimulation model of the US federal and state tax and benefit system relating to households and individuals.
https://thecgo.github.io/fiscalsim-us/
GNU Affero General Public License v3.0
9 stars 12 forks source link

Fix push.yaml GH Action #52

Closed rickecon closed 10 months ago

rickecon commented 10 months ago

The GitHub Action [push.yaml]() is breaking right now. It runs after a PR is merged. It currently broke after PR #32 was merged today. It is breaking in the "Checkout repo" step of the "Update versioning" job. It is having some kind of trouble with authorization.

FiscalSimError

cc: @ss7886

rickecon commented 10 months ago

@ss7886. I thought it might fix it to update the GH Action for checking out the repo actions/checkout@v4 in the pr.yaml and push.yaml files in PR #54. But that did not work. The tests in the updated pr.yaml file run and pass. But I still have the same errors as above in the push.yaml "Checkout repo" step (see this CI error page). It must be an issue with the permissions or GitHub token used in the push.yaml GH Action.

rickecon commented 10 months ago

I decided to remove the automatic versioning that was in pr.yaml and push.yaml. I replaced those files with more compartmentalized GH Actions. This Issue is resolved by PR #55.