chore: remove generated solc output artifact with absolute local path… #35
This file contains hidden or 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: Send submodule updates to parent repo | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: fhenixprotocol/cofhe | |
| token: ${{ secrets.GH_PAT_LIOR }} | |
| submodules: true | |
| - name: Pull & update submodules | |
| run: | | |
| git submodule update --init | |
| git submodule update --remote cofhe-contracts | |
| - name: Commit | |
| run: | | |
| git config user.email "actions@github.com" | |
| git config user.name "GitHub Actions - update submodules" | |
| git add --all | |
| git commit -m "Update submodules" || echo "No changes to commit" | |
| - name: Parse GH Commit Hash | |
| shell: bash | |
| run: | | |
| cd cofhe-contracts && echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV" | |
| - name: Create Pull Request | |
| id: cpr | |
| continue-on-error: true | |
| uses: peter-evans/create-pull-request@v5 | |
| with: | |
| token: ${{ secrets.GH_PAT_LIOR }} | |
| commit-message: Updated Submodule from cofhe-contracts | |
| committer: GitHub <noreply@github.com> | |
| author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
| signoff: false | |
| branch: cofhe-contracts-${{ env.sha_short }} | |
| delete-branch: true | |
| title: 'Update Submodule from cofhe-contracts' | |
| body: | | |
| Updated submodule from cofhe-contracts push to [master](https://github.com/fhenixprotocol/cofhe-contracts/commit/${{ github.sha }}) | |
| labels: | | |
| report | |
| automated pr | |
| draft: false |