Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

chore: Update @actions/core to v1.6.0 and remove node-fetch #17

Merged
merged 2 commits into from
Sep 29, 2021

Conversation

akash1810
Copy link
Member

What does this change?

From the release notes v1.6.0:

Added OIDC Client function getIDToken

This means we no longer need to manually do this and can remove the node-fetch dependency.

See https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md#160

How to test

The integration tests should pass.

How can we measure success?

Less code and fewer dependencies!

From the release notes v1.6.0:

> Added OIDC Client function `getIDToken`

This means we no longer need to manually do this and can remove the `node-fetch` dependency.

See https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md#160
@akash1810 akash1810 requested a review from a team September 29, 2021 14:03
Copy link
Contributor

@jacobwinch jacobwinch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🎉

@akash1810 akash1810 merged commit 8a25aaa into main Sep 29, 2021
@akash1810 akash1810 deleted the aa-bump-actions-core branch September 29, 2021 14:26
akash1810 added a commit that referenced this pull request Sep 29, 2021
We were previously reading these environment variables in order to manually fetch a token.

Since #17, we're using the functionality provided by `@actions/core` to do this,
so we no longer need to read these environment variables as we're not using them.
@akash1810 akash1810 mentioned this pull request Sep 29, 2021
akash1810 added a commit that referenced this pull request Sep 29, 2021
We were previously reading these environment variables in order to manually fetch a token.

Since #17, we're using the functionality provided by `@actions/core` to do this,
so we no longer need to read these environment variables as we're not using them.

This is a `fix` because `getEnvString` will no longer throw unnecessarily.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants