martinthomson / internet-draft-template

A template repository for Internet-Draft management
61 stars 61 forks source link

publish.yml issue #31

Open hmntsharma opened 3 months ago

hmntsharma commented 3 months ago

Hi,

In the publish.yml, v4 didn't work so I reverted to v3

name: "Publish New Draft Version"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
  **#uses: actions/checkout@v4**
  uses: actions/checkout@v3

<..snipped..>

- name: "Caching"
  **#uses: actions/cache@v4**
  uses: actions/cache@v3

This is where it failed in the actions

Run git fetch -f origin refs/heads/main:refs/heads/main git fetch -f origin refs/heads/main:refs/heads/main shell: /usr/bin/bash -e {0} fatal: refusing to fetch into branch 'refs/heads/main' checked out at '/home/runner/work/draft-hmntsharma-bmp-over-tls/draft-hmntsharma-bmp-over-tls' Error: Process completed with exit code 128.

bumblefudge commented 1 month ago

Thank you! This fixed my problem as well. I think GH actions config changed literally since 2 weeks ago when I last used the template and pushed a preview to gitlab for another i-d. For starters, the permissions option for "read and write" is greyed out, and also i got this error until i downgraded checkout to v3.