Skip to content

Failed to sync tags #2

@Frederick888

Description

@Frederick888

What I did

  1. Made the changes
  2. Pushed
  3. Tagged HEAD
  4. Pushed the new tag

Setup

name: GitLab Sync

on: [push, create, delete]

jobs:
  sync:
    name: Synchronise to GitLab
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - uses: action-pack/gitlab-sync@v3
        with:
          username: Frederick888
          url: "https://git.tsundere.moe/Frederick888/git-credential-keepassxc.git"
          token: ${{ secrets.GITLAB_ACCESS_TOKEN }}

Results

https://github.com/Frederick888/git-credential-keepassxc/actions/runs/6626126547/job/17998425927

Logs in case the link expires
Run action-pack/gitlab-sync@v3
  with:
    username: Frederick888
    url: https://git.tsundere.moe/Frederick888/git-credential-keepassxc.git
    token: ***
Run /home/runner/work/_actions/action-pack/gitlab-sync/v3/entrypoint.sh
  /home/runner/work/_actions/action-pack/gitlab-sync/v3/entrypoint.sh
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    INPUT_TARGET_URL: https://git.tsundere.moe/Frederick888/git-credential-keepassxc.git
    INPUT_TARGET_TOKEN: ***
    INPUT_TARGET_USERNAME: Frederick888
    GITHUB_EVENT_REF: refs/tags/v0.14.0
push
git remote add target ***git.tsundere.moe/Frederick888/git-credential-keepassxc.git
+ git fetch --all
Fetching origin
Fetching target
From https://git.tsundere.moe/Frederick888/git-credential-keepassxc
 * [new branch]      actions-just  -> target/actions-just
 * [new branch]      build-musl    -> target/build-musl
 * [new branch]      clap4         -> target/clap4
 * [new branch]      fix-win-build -> target/fix-win-build
 * [new branch]      group-detect  -> target/group-detect
 * [new branch]      master        -> target/master
 * [new branch]      shell-comp    -> target/shell-comp
 * [new branch]      yubikey-old   -> target/yubikey-old
+ git push -f --all target
Everything up-to-date
+ git push -f --prune target
fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use
git push target HEAD:<name-of-remote-branch>

Error: Process completed with exit code 128.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions