forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 2
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
release-action
#2
Draft
kousu
wants to merge
13
commits into
main
Choose a base branch
from
release-action
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Commits on Nov 14, 2023
-
Workflow to build and release the current tag.
This only runs on tags that include this file, so it won't run on any upstream tags, but only on tags into which this has been merged/cherry-picked.
Configuration menu - View commit details
-
Copy full SHA for 09759b0 - Browse repository at this point
Copy the full SHA 09759b0View commit details -
Workflow to automatically sync with upstream.
We plan to keep this fork alive for a significant amount of time, because it will hold an extra feature (#1) that upstream doesn't have. Automate keeping up to date with upstream to reduce our overhead. The scheme I chose for this is a little bit convoluted. There are three branches involved, but this means that the patch that we might potentially upstream is clean. Also, this scheme can't fix merge conflicts automatically, but it can find and email about them automatically, which is about as good as we can hope for.
Configuration menu - View commit details
-
Copy full SHA for 75aba36 - Browse repository at this point
Copy the full SHA 75aba36View commit details -
Enable actuallying syncing all tags.
fetching the latest tag with --depth 1 fails: that makes a shallow commit (aka a 'grafted' commit) and github refuses to accept it when being pushed back. Instead, use --shallow-exclude=HEAD which seems to get enough of the history without getting *all* of the history that github will accept the upload
Configuration menu - View commit details
-
Copy full SHA for d2beaa8 - Browse repository at this point
Copy the full SHA d2beaa8View commit details -
Trigger a build when pushing a new *-git-annex tag.
We need a special token, given to us by tibdex/github-app-token, because the default token that workflows are given is constrained: > When you use the repository's GITHUB_TOKEN to perform tasks, events > triggered by the GITHUB_TOKEN will not create a new workflow run. > This prevents you from accidentally creating recursive workflow runs. > For example, if a workflow run pushes code using the repository's > GITHUB_TOKEN, a new workflow will not run even when the repository > contains a workflow configured to run when push events occur. - https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow See also https://github.community/t/push-from-workflow-not-doesnt-trigger-on-push-tags-workflow/149151/2 GitHub recommends https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow for solving this, but that seems a lot less flexible to me. I'd rather be able to choose whether to trigger a build by pushing a tag manually or having the bot do it.
Configuration menu - View commit details
-
Copy full SHA for b2d8c71 - Browse repository at this point
Copy the full SHA b2d8c71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 005fce1 - Browse repository at this point
Copy the full SHA 005fce1View commit details -
Fixes this failure: https://github.com/neuropoly/gitea/runs/7042433953?check_suite_focus=true Also, expand the comments, now that I understand this better.
Configuration menu - View commit details
-
Copy full SHA for 41ff3af - Browse repository at this point
Copy the full SHA 41ff3afView commit details -
For us, as a fork working on our own bubble, these are useful
Configuration menu - View commit details
-
Copy full SHA for 5b803f6 - Browse repository at this point
Copy the full SHA 5b803f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6ac4a0 - Browse repository at this point
Copy the full SHA b6ac4a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d362d5 - Browse repository at this point
Copy the full SHA 1d362d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2155044 - Browse repository at this point
Copy the full SHA 2155044View commit details -
Gitea's official builds have this disabled. I'm not sure why. But I would like to use it at least on some neurogitea systems, so turn it on. See https://docs.gitea.io/en-us/authentication/#pam-pluggable-authentication-module
Configuration menu - View commit details
-
Copy full SHA for f99476e - Browse repository at this point
Copy the full SHA f99476eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb21b92 - Browse repository at this point
Copy the full SHA fb21b92View commit details -
Configuration menu - View commit details
-
Copy full SHA for e50657e - Browse repository at this point
Copy the full SHA e50657eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.