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

Adapt CI workflow "on" run configurations from "tmpl" template repository #18

Closed
svengreb opened this issue Sep 25, 2020 · 0 comments · Fixed by #19
Closed

Adapt CI workflow "on" run configurations from "tmpl" template repository #18

svengreb opened this issue Sep 25, 2020 · 0 comments · Fixed by #19

Comments

@svengreb
Copy link
Owner

The CI workflow currently only uses the push configuration for the on field. To improve the performance a more fine grained configuration will be used that has already been defined in the "tmpl" template repository:

  • Only run on pushes to the main branch.
  • Only run on pushes for v* tags.
  • Always run for pushes to PRs.

These changes will help to keep the required GitHub Action run minutes for the account of this repository as small as possible without wasting resources for unnecessary runs.

@svengreb svengreb added this to the Next milestone Sep 25, 2020
@svengreb svengreb self-assigned this Sep 25, 2020
svengreb added a commit that referenced this issue Sep 25, 2020
…tory

Before the CI workflow only used the `push` configuration for the `on`
field. To improve the performance a more fine grained configuration is
now used that has already been defined in the "tmpl" template
repository [1]:

- Only runs on pushes to the `main` branch.
- Only runs on pushes for `v*` tags.
- Always runs for pushes to PRs.

These changes help to keep the required GitHub Action run minutes for
the account of this repository as small as possible without wasting
resources for unnecessary runs.

[1]: https://github.com/svengreb/tmpl

GH-18
svengreb added a commit that referenced this issue Sep 25, 2020
…tory (#19)

Before the CI workflow only used the `push` configuration for the `on`
field. To improve the performance a more fine grained configuration is
now used that has already been defined in the "tmpl" template
repository [1]:

- Only runs on pushes to the `main` branch.
- Only runs on pushes for `v*` tags.
- Always runs for pushes to PRs.

These changes help to keep the required GitHub Action run minutes for
the account of this repository as small as possible without wasting
resources for unnecessary runs.

[1]: https://github.com/svengreb/tmpl

Resolves GH-18
@svengreb svengreb removed their assignment Sep 25, 2020
svengreb added a commit to svengreb/nib that referenced this issue Sep 25, 2020
Adapted to "tmpl-go" version 0.3.0 [2] which includes a optimized run
configuration for the CI workflow [2] that helps to improve the
performance though more fine grained configurations:

- Only runs on pushes to the `main` branch.
- Only runs on pushes for `v*` tags.
- Always runs for pushes to PRs.

[2]: svengreb/tmpl-go#18
[1]: https://github.com/svengreb/tmpl-go/releases/tag/v0.3.0

GH-14
svengreb added a commit to svengreb/nib that referenced this issue Sep 25, 2020
Adapted to "tmpl-go" version 0.3.0 [2] which includes a optimized run
configuration for the CI workflow [2] that helps to improve the
performance though more fine grained configurations:

- Only runs on pushes to the `main` branch.
- Only runs on pushes for `v*` tags.
- Always runs for pushes to PRs.

[2]: svengreb/tmpl-go#18
[1]: https://github.com/svengreb/tmpl-go/releases/tag/v0.3.0

Resolves GH-14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant