Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set environment #7

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Set environment #7

merged 1 commit into from
Jul 1, 2024

Conversation

hundt-corbalt
Copy link
Contributor

No description provided.

@hundt-corbalt hundt-corbalt requested a review from ben-harvey June 27, 2024 16:52
Copy link
Contributor

@ben-harvey ben-harvey left a comment

Choose a reason for hiding this comment

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

Looks good, just one nit in the README but I don't need another look

@@ -23,12 +24,13 @@ Here's an example of how to use this action in your workflow:

```yaml
- name: Run Command And Report DSO Event
uses: Enterprise-CMCS/mac-fc-report-dso-event@{ref}
uses: Enterprise-CMCS/mac-fc-report-dso-event@0.2.2
Copy link
Contributor

Choose a reason for hiding this comment

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

I think people often copy-paste these examples, and when 0.2.2 is outdated they will copy-paste that :) That's why I put {ref} so it wouldn't work when copy-pasted and they would need to think about it some

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My thinking was:

  • they might just put * and we don't want to encourage that (we want the default to be that they will pin to the latest released version at the time they set it up)
  • we already have to make a change updating references (in action.yml) whenever we bump the version number, so changing it in one more place doesn't seem harder to me.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sure, makes sense, as long as we remember to do it :)

@hundt-corbalt hundt-corbalt merged commit eacf7c7 into main Jul 1, 2024
4 checks passed
@hundt-corbalt hundt-corbalt deleted the hundt-env branch July 1, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants