-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running this action on Gitea #75
Comments
Hey @chocolatkey , this is an issue with the how the - uses: bufbuild/buf-action@v1
with:
token: ${{ secrets.BUF_TOKEN }}
push: false # Disable push to customize git metadata
- if: ${{ github.event_name == 'push' }}
env:
BRANCH_NAME: ${{ github.ref_name }}
SOURCE_CONTROL_URL: ${{ github.event.head_commit.url }}
run: |
buf push --error-format github-actions --exclude-unnamed --create \
--label $BRANCH_NAME \
--source-control-url $SOURCE_CONTROL_URL Setting the |
@emcfarlane thanks for the solution, that seems to have worked. For Gitea, I replaced the
|
When attempting to run this action using Gitea actions on a private Gitea instance, the action fails:
This seems to come from https://github.com/bufbuild/buf/blob/main/private/buf/cmd/buf/command/push/push.go#L496 . Is there any way to get this running on Gitea? I don't see why using a platform aside from GitHub/GitLab/BitBucket should block using
buf push --error-format github-actions --exclude-unnamed --git-metadata --create
The text was updated successfully, but these errors were encountered: