nextflow-io / vscode-language-nextflow

Nextflow language support for Visual Studio Editor
MIT License
25 stars 14 forks source link

VSCode Publishing: PAT expired #28

Closed ewels closed 7 months ago

ewels commented 7 months ago

The recent attempt to publish via GitHub actions failed:

Publishing 'nextflow.nextflow v0.3.2'...
Error: 
{
  "$id": "1",
  "customProperties": {
    "Descriptor": null,
    "IdentityDisplayName": null,
    "Token": null,
    "RequestedPermissions": 0,
    "NamespaceId": "00000000-0000-0000-0000-000000000000"
  },
  "innerException": null,
  "message": "Access Denied: The Personal Access Token used has expired.",
  "typeName": "Microsoft.VisualStudio.Services.Security.AccessCheckException, Microsoft.VisualStudio.Services.WebApi",
  "typeKey": "AccessCheckException",
  "errorCode": 0,
  "eventId": 3000
}
You're using an expired Personal Access Token, please get a new PAT.
More info: https://aka.ms/vscodepat

We need to generate a new PAT and then update the secret in the repository. Then we can manually re-run the publish action via workflow_dispatch and hopefully it'll work 🤞🏻

ewels commented 7 months ago

Aha! I was about to use a PAT that I generated! 🎉 We're live!

Publishing 'nextflow.nextflow v0.3.2'...
Extension URL (might take a few minutes): https://marketplace.visualstudio.com/items?itemName=nextflow.nextflow
Hub URL: https://marketplace.visualstudio.com/manage/publishers/nextflow/extensions/nextflow/hub
Published nextflow.nextflow v0.3.2.