Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5414

fix release process by granting write access to the id-token permission

    • 1
    • Not Needed
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      The id-token: write permission has to be added to the release and release-4x yaml files. See the nightly release for an example.

      https://github.com/mongodb/node-mongodb-native/actions/runs/5479682798/jobs/9981857066

      User Impact

      • Adds provenance to driver releases

      Dependencies

      • None

      Unknowns

      • Can we move the release step to a new job (same workflow) to be able to rerun it in case of transiently fixable errors like this?

      Acceptance Criteria

      Implementation Requirements

      • Add permissions: id-token: write under the release-please job

      Testing Requirements

      • Try again next release (dry-run will not confirm this fix as it does not attempt to make a token)

      Documentation Requirements

      • None

      Follow Up Requirements

      • Check other copies of the release process for this bug, and fix as subtasks of this ticket.

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: