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

Run github action against tag during release #2109

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

glasser
Copy link
Member

@glasser glasser commented Sep 8, 2024

Previously this would pass the empty string which would default to main.

@glasser glasser requested a review from a team as a code owner September 8, 2024 16:22
Copy link
Contributor

@jonathanrainer jonathanrainer left a comment

Choose a reason for hiding this comment

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

LGTM

I was definitely mislead by the name of the option here, though I wouldn't worry, this stuff should be going in the bin when we consolidate the testing as I have a PR open to do

@jonathanrainer jonathanrainer force-pushed the glasser/github-actions-release branch from f286b37 to 69dcfb6 Compare September 9, 2024 10:07
@jonathanrainer jonathanrainer added this to the v0.26.2 milestone Sep 9, 2024
Previously this would pass the empty string which would default to main.
@glasser glasser force-pushed the glasser/github-actions-release branch from 69dcfb6 to 59f7c34 Compare September 9, 2024 16:49
@glasser glasser enabled auto-merge (squash) September 9, 2024 16:50
If I understand correctly, before this PR the two jobs that run GitHub
actions were defined identically and magically merged by GitHub into a
single job definition. But now that they are slightly different, GH
treats them as different jobs, and adds `-1` and `-2` to their names. It
doesn't seem to mess up the `requires` links, but it is (a) tacky and
(b) messed up the GitHub required status on PRs. So differentiate the
names.
@glasser
Copy link
Member Author

glasser commented Sep 9, 2024

I added (and validated) another commit that makes this work a bit better.

@glasser glasser merged commit 6d44029 into main Sep 9, 2024
24 of 25 checks passed
@glasser glasser deleted the glasser/github-actions-release branch September 9, 2024 18:39
@jonathanrainer jonathanrainer mentioned this pull request Sep 10, 2024
jonathanrainer added a commit that referenced this pull request Sep 10, 2024
## 🐛 Fixes

- **Avoid misleading warning when `--output` is not specified - @glasser
#2100**

In the release of v0.26.1 logic was added to disable the output flag if
the Federation version was less than 2.9, however this was being printed
even when the `--output` flag was not supplied. This has been corrected.

- **Improve `--graph-ref` option - @glasser #2101**

In the release of v0.26.0 the `--graph-ref` option was added to
`supergraph compose` as well as `rover dev`. However, the behaviour when
`--graph-ref` was used in conjunction with `--config` did not work as
documented. This is now fixed. Furthermore, both `rover dev` and
`supergraph compose`, when using only the `--graph-ref` option, respect
the graph ref's Federation version.

- **Further improve `--graph-ref` option - @glasser #2105**

Improves on the above by fixing some corner cases that prevented #2101
from working as intended

## 🛠 Maintenance

- **Update `eslint` to v9.10.0 - @jonathanrainer #2106**
- **Update `concurrently` to v9.0.0 - @jonathanrainer #2108**
- **Update `manylinux` CI Docker Image to v2024.09.09 - @jonathanrainer
#2110**
- **Update Rust to v1.81.0 - @jonathanrainer #2107**
- **Pass GitHub Tag to GitHub Actions Workflow - @glasser #2109**
- **Add `tower` for use with HTTP/GraphQL clients - @dotdat #2067**

## 📚 Documentation

- **Fix Glossary links - @Meschreiber @pnodet #2114**
aaronArinder pushed a commit that referenced this pull request Sep 10, 2024
- **Avoid misleading warning when `--output` is not specified - @glasser

In the release of v0.26.1 logic was added to disable the output flag if
the Federation version was less than 2.9, however this was being printed
even when the `--output` flag was not supplied. This has been corrected.

- **Improve `--graph-ref` option - @glasser #2101**

In the release of v0.26.0 the `--graph-ref` option was added to
`supergraph compose` as well as `rover dev`. However, the behaviour when
`--graph-ref` was used in conjunction with `--config` did not work as
documented. This is now fixed. Furthermore, both `rover dev` and
`supergraph compose`, when using only the `--graph-ref` option, respect
the graph ref's Federation version.

- **Further improve `--graph-ref` option - @glasser #2105**

Improves on the above by fixing some corner cases that prevented #2101
from working as intended

- **Update `eslint` to v9.10.0 - @jonathanrainer #2106**
- **Update `concurrently` to v9.0.0 - @jonathanrainer #2108**
- **Update `manylinux` CI Docker Image to v2024.09.09 - @jonathanrainer
- **Update Rust to v1.81.0 - @jonathanrainer #2107**
- **Pass GitHub Tag to GitHub Actions Workflow - @glasser #2109**
- **Add `tower` for use with HTTP/GraphQL clients - @dotdat #2067**

- **Fix Glossary links - @Meschreiber @pnodet #2114**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants