Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Refusing to fetch into current branch #17

Closed
bouteillerAlan opened this issue Feb 19, 2020 · 1 comment
Closed

Refusing to fetch into current branch #17

bouteillerAlan opened this issue Feb 19, 2020 · 1 comment

Comments

@bouteillerAlan
Copy link

bouteillerAlan commented Feb 19, 2020

Hello i have an error when the action is trigger :
Screenshot_20200219_150827

step :

  1. create branch "test-auto-pr" from branch "develop"
  2. create file touch delete.me
  3. commit the file
  4. push git push origin test-auto-pr
  5. the job is trigger but is failed

My .yml :

name: Create Pull Request
on:
  push:
    branches:
    - "*"
    - "!develop"
    - "!master"

jobs:
  pull-request:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: pull-request
      uses: repo-sync/pull-request@v2
      with:
        destination_branch: "develop"          # If blank, default: master
        pr_title: "${{github.actor}} triger auto pr : ${{ github.ref }} into develop"
        pr_body: "📡 *An automated PR*"  # Full markdown support, requires pr_title to be set
        pr_reviewer: "bouteillerAlan"             # Comma-separated list (no spaces)
        pr_assignee: "bouteillerAlan"             # Comma-separated list (no spaces)
        pr_label: "auto-pr"                   # Comma-separated list (no spaces)
        github_token: ${{ secrets.GITHUB_TOKEN }}
@wei
Copy link
Member

wei commented Feb 19, 2020

Please use actions/checkout@v1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants