Commit Graph

9 Commits

Author SHA1 Message Date
ColorfulRhino
7678009f60 actions: forked-helper: Run only if secret is set
The workflow ran regardless whether `ARMBIAN_SELF_DISPATCH_TOKEN` was set or not, generating errors if the secret could not be found.

In addition, simplify and beautify the workflow.
2024-08-18 10:40:09 +02:00
ColorfulRhino
28e859f7ce actions: forked-helper: Don't escape multiline strings
Not needed anymore with GITHUB_OUTPUT.
See https://github.com/orgs/community/discussions/26288#discussioncomment-3876281

Instead, use the `toJSON` function that Actions offers to convert the `event` object to JSON.
2024-07-18 11:43:38 +02:00
ColorfulRhino
3fff477855 actions: Introduce run names for all workflows
This should make viewing the Action runs in the web UI more pleasant.
2024-07-11 18:02:32 +02:00
ColorfulRhino
a001fefc57 actions: Fix GITHUB_OUTPUT variables 2024-07-11 18:02:32 +02:00
ColorfulRhino
d3a6e0b26f GH Actions: forked-helper: Fix deprecated ::set-output, fix 404 link
::set-output has been deprecated in 2022: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2024-03-09 20:03:52 +01:00
dependabot[bot]
7a3babc042 build(deps): bump peter-evans/repository-dispatch from 2 to 3
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 2 to 3.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases)
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/v2...v3)

---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 19:42:37 +01:00
dependabot[bot]
1f0993b02c
Bump peter-evans/repository-dispatch from 1 to 2 (#3891)
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 1 to 2.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases)
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-11 18:16:04 +02:00
Igor Pečovnik
a55122a1d2
Another pack of updates for Github actions (#3288) 2021-11-23 22:37:06 +01:00
Pavel Sokolov
de548b01e6
Added helper to run workflows on forks (#3197)
* Added workflow helper for the forked repositories.

* Use secret.ARMBIAN_SELF_DISPATCH_TOKEN, Added `event_details`

* Use secret.ARMBIAN_SELF_DISPATCH_TOKEN, Added `event_details`

* Updated .github/workflows/README.md with `armbian` event

* Fix newline in the end of yaml.

* Remove `Debug details` step

* Added comment for JSON processing
2021-10-15 07:59:43 +02:00