https://github.com/apn-pucky/fast-forward-action

https://github.com/apn-pucky/fast-forward-action

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.9%) to scientific vocabulary

Keywords

action bot fast forward git github-action github-actions
Last synced: 5 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: APN-Pucky
  • Default Branch: main
  • Homepage:
  • Size: 53.7 KB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • Open Issues: 8
  • Releases: 1
Topics
action bot fast forward git github-action github-actions
Created over 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme

README.md

fast-forward-action

Adds a fast-forward label to PRs and fast-forwards them on /fast-forward comment.

Use case

Github Web UI does not allow fast-forwarding of PRs:

https://stackoverflow.com/questions/60597400/how-to-do-a-fast-forward-merge-on-github

This disallows a linear commit history with a delayed stable branch.

Inputs

| Input | Description | | ----------- | ----------- | | GITHUBTOKEN | Automatically provided token, that can be used to authenticate on behalf of the GitHub action, with permissions limited to the repository that contains your workflow | | SSHPRIVATE_KEY | Deploy key for push. Must be set in the repository settings. This is used by the action to push the fast-forwarded branch/commit/PR. |

Workflow YML

The Action must be run on triggers to keep the labels up-to-date and run the fast-forward on command.

```yml name: Fast-Forward

on: issuecomment: types: [created] push: pullrequest:

jobs: run: runs-on: ubuntu-latest steps: - uses: APN-Pucky/fast-forward-action@main with: GITHUBTOKEN: ${{ secrets.GITHUBTOKEN }} SSHPRIVATEKEY: ${{ secrets.GH_SSH }} ```

Examples

For working examples checkout the fast-forward tagged PRs. They have been merged via the /fast-forward command.

  • This repo
  • https://github.com/APN-Pucky/smpl/pulls?q=is%3Apr+is%3Aclosed
  • https://github.com/APN-Pucky/HEPi/pulls

Owner

  • Name: Alexander Puck Neuwirth
  • Login: APN-Pucky
  • Kind: user
  • Company: Uni Münster

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 63
  • Total Committers: 3
  • Avg Commits per committer: 21.0
  • Development Distribution Score (DDS): 0.349
Top Committers
Name Email Commits
Alexander Puck Neuwirth A****y@u****m 41
Alexander Puck Neuwirth a****r@n****e 13
APN-Pucky A****y@n****m 9
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 7
  • Total pull requests: 11
  • Average time to close issues: about 4 hours
  • Average time to close pull requests: 9 minutes
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.14
  • Average comments per pull request: 1.64
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • APN-Pucky (6)
  • argusSecurityBot (1)
Pull Request Authors
  • APN-Pucky (10)
  • dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
fast-forward (4) PR: needs rebase (1) dependencies (1)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 5
  • Total versions: 1
github actions: APN-Pucky/fast-forward-action

Merge pull request using fast forward only, if possible, moving base branch (target branch) to head branch (source branch)

  • Latest release: 1.0.0
    published about 3 years ago
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 5
Rankings
Dependent packages count: 0.0%
Dependent repos count: 15.3%
Average: 24.7%
Forks count: 35.2%
Stargazers count: 48.4%
Last synced: 6 months ago

Dependencies

.github/workflows/ff-test.yml actions
  • APN-Pucky/fast-forward-action main composite
action.yml actions
  • APN-Pucky/fast-forward-action/label main composite
  • APN-Pucky/fast-forward-action/merge main composite
  • APN-Pucky/fast-forward-label-remove main composite
  • actions/checkout v3 composite
label/action.yml actions
  • actions-ecosystem/action-add-labels v1 composite
  • actions-ecosystem/action-remove-labels v1 composite
  • actions/checkout v3 composite
  • mshick/add-pr-comment v1 composite
merge/action.yml actions
  • APN-Pucky/fast-forward-js-action master composite
  • actions-cool/check-user-permission v2 composite
  • actions/checkout v3 composite
  • ad-m/github-push-action master composite
  • mshick/add-pr-comment v1 composite