wikipathways / wikipathways-database

WikiPathways Database
https://www.wikipathways.org
4 stars 15 forks source link

author-list job failing #43

Closed larsgw closed 1 year ago

larsgw commented 1 year ago

The author-list job failed with the error

fatal: could not read Username for 'https://github.com': No such device or address

Full logs:

2023-06-18T11:17:49.3980133Z diff --git a/scripts/author_list.csv b/scripts/author_list.csv
2023-06-18T11:17:49.3980846Z index 15f12a8..e22ed6a 100644
2023-06-18T11:17:49.4034230Z --- a/scripts/author_list.csv
2023-06-18T11:17:49.4034550Z +++ b/scripts/author_list.csv
2023-06-18T11:17:49.4034922Z @@ -570,3 +570,4 @@ KieranReidy,Kieran Reidy,,,
2023-06-18T11:17:49.4035534Z  Clarissafalempin,Clarissa Falempin,,,
2023-06-18T11:17:49.4035908Z  JHekmaWierda,Jolijn Hekma Wierda,,,
2023-06-18T11:17:49.4036206Z  Kay.Veurink,Kay Veurink,,,
2023-06-18T11:17:49.4036518Z +Nvalenbreder,Nvalenbreder,,,
2023-06-18T11:17:49.4291993Z [main 935da53] Update author_list file
2023-06-18T11:17:49.4292334Z  1 file changed, 1 insertion(+)
2023-06-18T11:18:06.6381506Z From https://github.com/wikipathways/wikipathways-database
2023-06-18T11:18:06.6382304Z  * [new branch]          pending-approval-WP325.gpml -> origin/pending-approval-WP325.gpml
2023-06-18T11:18:06.6559658Z  * [new tag]             20220310   -> 20220310
2023-06-18T11:18:06.6767415Z Current branch main is up to date.
2023-06-18T11:18:06.9278774Z fatal: could not read Username for 'https://github.com': No such device or address
2023-06-18T11:18:06.9304084Z ##[error]Process completed with exit code 128.

https://github.com/wikipathways/wikipathways-database/actions/runs/5303289508/jobs/9598908366#step:5:1

Step YAML:

      - name: Checkout wikipathways-database repo
        uses: actions/checkout@v3
        with:
          persist-credentials: false
          token: ${{ secrets.PICOPAT }}
          fetch-depth: 1
          ref: main

Possibly due to the PAT: https://github.com/actions/checkout/issues/664

larsgw commented 1 year ago

I've removed the PAT in a11f99fbd92a4630d218bb0c9d125b900da2ed8f as other jobs seem to checkout (with write access) fine without additional tokens.

larsgw commented 1 year ago

This seems to have worked.