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

AUTO : Forward from beta to master #1338

Merged
merged 410 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
410 commits
Select commit Hold shift + click to select a range
494a502
macro_tools: evolve item_struct
Wandalen May 18, 2024
b3e3df6
macro_tools: evolve item_struct
Wandalen May 18, 2024
9a80153
macro_tools: evolve item_struct
Wandalen May 18, 2024
43231cb
macro_tools: evolve item_struct
Wandalen May 18, 2024
b1cf70e
macro_tools: evolve item_struct
Wandalen May 18, 2024
ed9ef34
macro_tools: evolve item_struct
Wandalen May 18, 2024
8bdf4d3
macro_tools: refactoring
Wandalen May 18, 2024
30fd687
macro_tools: refactoring
Wandalen May 18, 2024
fb68071
macro_tools: refactoring
Wandalen May 18, 2024
2db17f7
macro_tools: refactoring
Wandalen May 18, 2024
eb7b3cb
macro_tools: refactoring
Wandalen May 18, 2024
562eae6
macro_tools: refactoring
Wandalen May 18, 2024
54078fa
macro_tools: refactoring
Wandalen May 18, 2024
7b8c9c2
macro_tools: refactoring
Wandalen May 18, 2024
407cf4f
macro_tools: refactoring
Wandalen May 18, 2024
0dadc3a
macro_tools: refactoring
Wandalen May 18, 2024
4ee606f
macro_tools: refactoring
Wandalen May 18, 2024
0f972c4
macro_tools: refactoring
Wandalen May 18, 2024
4125672
derive_tools: refactoring
Wandalen May 18, 2024
82c6b13
derive_tools: refactoring
Wandalen May 18, 2024
b556656
variadic_from: refactoring
Wandalen May 18, 2024
13f234f
variadic_from: refactoring
Wandalen May 18, 2024
e20ef91
variadic_from: refactoring
Wandalen May 18, 2024
78e3ff3
variadic_from: refactoring
Wandalen May 18, 2024
d9b5055
variadic_from: refactoring
Wandalen May 18, 2024
2bd0b9c
variadic_from: refactoring
Wandalen May 18, 2024
0d72ad5
variadic_from: refactoring
Wandalen May 18, 2024
f47d4b0
variadic_from: refactoring
Wandalen May 18, 2024
6ee1915
variadic_from: refactoring
Wandalen May 18, 2024
ff97abf
variadic_from: refactoring
Wandalen May 18, 2024
00a0b14
variadic_from: refactoring
Wandalen May 18, 2024
f345d31
variadic_from: refactoring
Wandalen May 18, 2024
0e07e19
variadic_from: refactoring
Wandalen May 18, 2024
936ac27
variadic_from: refactoring
Wandalen May 18, 2024
4f5fa5e
variadic_from: refactoring
Wandalen May 18, 2024
961bc44
variadic_from: refactoring
Wandalen May 18, 2024
035464a
variadic_from: refactoring
Wandalen May 18, 2024
4aa8c03
variadic_from: refactoring
Wandalen May 18, 2024
adc6fd0
variadic_from: refactoring
Wandalen May 18, 2024
a5e78e5
variadic_from: refactoring
Wandalen May 18, 2024
86cd8a3
variadic_from: refactoring
Wandalen May 18, 2024
d3d91a6
interval_adapter-v0.21.0
Wandalen May 18, 2024
7d2bf36
macro_tools-v0.25.0
Wandalen May 18, 2024
b2e1be3
iter_tools-v0.17.0
Wandalen May 18, 2024
d71a65f
derive_tools_meta-v0.19.0
Wandalen May 18, 2024
ff37c7d
variadic_from-v0.15.0
Wandalen May 18, 2024
d90e3f5
variadic_from: cleaning
Wandalen May 18, 2024
417abd9
variadic_from: cleaning
Wandalen May 18, 2024
443b0d2
macro_tools-v0.26.0
Wandalen May 18, 2024
fa72df6
derive_tools_meta-v0.20.0
Wandalen May 18, 2024
ee668b7
variadic_from-v0.16.0
Wandalen May 18, 2024
8f83343
variadic_from: cleaning
Wandalen May 18, 2024
8cba16e
variadic_from: cleaning
Wandalen May 18, 2024
14e65c4
variadic_from: cleaning
Wandalen May 18, 2024
c1516f4
variadic_from: rid off From_0, rename traits
Wandalen May 18, 2024
cdb3e32
variadic_from: zero length unnamed struct
Wandalen May 18, 2024
bc35cdf
derive_tools_meta-v0.21.0
Wandalen May 18, 2024
1a50c29
variadic_from-v0.17.0
Wandalen May 18, 2024
2b46428
variadic_from: integrated into derive_tools
Wandalen May 18, 2024
8013565
derive_tools : cleaning
Wandalen May 18, 2024
a1ed3a0
macro_tools : experimenting with iterator
Wandalen May 18, 2024
f874a67
macro_tools : experimenting with iterator
Wandalen May 18, 2024
8693e8e
macro_tools : experimenting with iterator
Wandalen May 18, 2024
a0eedb7
macro_tools : experimenting with iterator
Wandalen May 18, 2024
b3a5725
macro_tools : experimenting with iterator
Wandalen May 18, 2024
e926c22
macro_tools : experimenting with iterator
Wandalen May 18, 2024
90516ea
macro_tools : fixing struct_like
Wandalen May 18, 2024
128c065
macro_tools : fixing struct_like
Wandalen May 18, 2024
369b7d4
macro_tools : fixing struct_like
Wandalen May 18, 2024
ca34f01
macro_tools : fixing struct_like
Wandalen May 18, 2024
5f529a9
derive_tools : From for enums wip
Wandalen May 18, 2024
67897d8
macro_tools : fixing struct_like
Wandalen May 18, 2024
6ed965a
macro_tools : fixing struct_like, improve test
Wandalen May 18, 2024
acdeb3f
derive_tools : From for enums
Wandalen May 18, 2024
ea924b0
derive_tools : tasks
Wandalen May 18, 2024
e02a7b4
derive_tools : From for enums with generics wip
Wandalen May 19, 2024
35db923
derive_tools : From for enums with generics wip
Wandalen May 19, 2024
f63df17
Merge pull request #1343 from YBoy-git/collection_tools_no_std_fix
Wandalen May 19, 2024
8724ab0
Merge pull request #1341 from SRetip/qqq_fixes
Wandalen May 19, 2024
83f5237
derive_tools : From for enums with generics wip
Wandalen May 19, 2024
2232e47
derive_tools : From for enums with generics
Wandalen May 19, 2024
a70b28c
derive_tools : From for enums with generics
Wandalen May 19, 2024
c37ed6d
derive_tools : From for enums with generics
Wandalen May 19, 2024
1f2431c
derive_tools : From for enums with generics
Wandalen May 19, 2024
fe35246
Merge pull request #1339 from Wandalen/program_tools_v1
Wandalen May 19, 2024
db49379
derive_tools : better tests for From for enums with genericics
Wandalen May 19, 2024
b3a67f0
Merge pull request #1346 from Wandalen/program_tools_v1
Wandalen May 19, 2024
7d144f7
derive_tools : better documentation for generic_params::decompose
Wandalen May 19, 2024
60e396f
former : refactor attributes parsing
Wandalen May 19, 2024
1f4dfee
former : refactor attributes parsing
Wandalen May 19, 2024
adb6ff7
Merge pull request #1347 from Wandalen/program_tools_v1
Wandalen May 19, 2024
9698232
Merge branch 'alpha' of github.com:YBoy-git/wTools into former_collec…
YBoy-git May 20, 2024
ddfac00
derive_tools : attribute from for From wip
Wandalen May 20, 2024
8e4fa24
Merge pull request #1344 from YBoy-git/former_collections_update
Wandalen May 20, 2024
ec8b060
Merge branch 'alpha' into program_tools_v1
Wandalen May 20, 2024
c5a8a3d
derive_tools : attribute from for From wip
Wandalen May 20, 2024
e24071e
derive_tools : attribute from for From wip
Wandalen May 20, 2024
4aa8ce8
Merge pull request #1348 from Wandalen/program_tools_v1
Wandalen May 20, 2024
8f5d1ff
Use match on attributes parsing
YBoy-git May 20, 2024
1acc833
Use match on attributes parsing, former_meta
YBoy-git May 20, 2024
46cb060
Use direct collection_tools path
YBoy-git May 20, 2024
b31aedf
Refactore FieldAttributes::from_attrs
YBoy-git May 20, 2024
f28ed54
Merge pull request #1349 from YBoy-git/match_attributes
Wandalen May 21, 2024
03d2b20
Merge pull request #1350 from YBoy-git/collections_direct_access
Wandalen May 21, 2024
3a0ddac
Merge pull request #1351 from YBoy-git/field_attribute_from_attrs
Wandalen May 21, 2024
176b481
former : renames
Wandalen May 21, 2024
e317bda
former_types: split out types from crate former to been able use them…
Wandalen May 21, 2024
7126676
collection_tools-v0.7.0
Wandalen May 21, 2024
9591b81
experimenting
Wandalen May 21, 2024
29849af
task
Wandalen May 21, 2024
47f3817
Add enabled directive for crate alloc
YBoy-git May 21, 2024
d1cd8b9
former_meta : use ComponentAssign. former_types : reduce features
Wandalen May 21, 2024
aceb1f1
Add reexports feature to collection_tools
YBoy-git May 21, 2024
8820b69
Fix former not building
YBoy-git May 21, 2024
a853d1f
Merge pull request #1353 from YBoy-git/collection_tools_alloc_on_enabled
Wandalen May 21, 2024
27863fb
Merge pull request #1354 from YBoy-git/former_types_build_fix
Wandalen May 21, 2024
0420446
former_meta : use ComponentAssign
Wandalen May 21, 2024
040dcd4
Merge branch 'program_tools_v1' of github.com:Wandalen/wTools into pr…
Wandalen May 21, 2024
1f7725d
collection_tolls : not prelude, but exposed. rid off feature reexports
Wandalen May 21, 2024
a3c9c22
merge
Wandalen May 21, 2024
0173ec2
collection_tools-v0.8.0
Wandalen May 21, 2024
0130aae
former_types-v2.1.0
Wandalen May 21, 2024
7a1531c
former : refactor parsing
Wandalen May 22, 2024
f2cabae
former : refactor parsing
Wandalen May 22, 2024
209b071
former : refactoring parsing
Wandalen May 22, 2024
5942deb
former : refactoring parsing
Wandalen May 22, 2024
4eb4af9
former : refactoring and documentation
Wandalen May 22, 2024
aa775b5
macro_tools : fixing mess
Wandalen May 22, 2024
c52c776
macro_tools : fixing mess
Wandalen May 22, 2024
1684c35
macro_tools : fixing mess
Wandalen May 22, 2024
10f47a6
macro_tools : fixing mess
Wandalen May 22, 2024
e4ac9f5
macro_tools : fixing mess
Wandalen May 22, 2024
004f8fe
former : refactoring parsing
Wandalen May 22, 2024
ce17faa
former : refactoring parsing
Wandalen May 22, 2024
42a735f
former : refactoring parsing
Wandalen May 22, 2024
364fbb7
former : refactoring parsing
Wandalen May 23, 2024
2d4a4d8
former : refactoring parsing
Wandalen May 23, 2024
0fd80d6
former : refactoring parsing
Wandalen May 23, 2024
461055a
former : refactoring parsing
Wandalen May 24, 2024
4789710
former : refactoring parsing
Wandalen May 24, 2024
2c06be2
former : refactoring parsing
Wandalen May 25, 2024
e19102b
former : refactoring parsing
Wandalen May 25, 2024
d82ea1c
former : refactoring parsing
Wandalen May 25, 2024
58f9498
former : refactoring parsing
Wandalen May 25, 2024
f69a3f8
former : refactoring parsing
Wandalen May 25, 2024
9020dc2
former : refactoring parsing
Wandalen May 25, 2024
7f72f90
former : refactoring parsing
Wandalen May 25, 2024
c028fa4
former : refactoring parsing
Wandalen May 25, 2024
56b62a3
former : refactoring parsing
Wandalen May 25, 2024
ae44ab6
former : refactoring parsing
Wandalen May 25, 2024
5a1798b
former : refactoring parsing
Wandalen May 25, 2024
2fc6bda
former : refactoring parsing
Wandalen May 25, 2024
ef33cbd
former : refactoring parsing
Wandalen May 25, 2024
3919db6
former : refactoring parsing
Wandalen May 25, 2024
fee118d
former : refactoring parsing
Wandalen May 26, 2024
52f7257
Merge pull request #1352 from Wandalen/program_tools_v1
Wandalen May 26, 2024
7e9244c
Merge branch 'alpha' of https://github.com/Wandalen/wTools into alpha
SRetip May 27, 2024
d551a3c
after review fix
SRetip May 27, 2024
5004889
processing `qqq`, adding a test
Barsik-sus May 27, 2024
ad70e6f
renamed `git_things` -> `git_options`
Barsik-sus May 27, 2024
ed4a8ce
Hid structures that do not have to be public
Barsik-sus May 27, 2024
7279338
refactor
SRetip May 27, 2024
571e5a5
regenerate readme
Wandalen May 27, 2024
55609bb
macro_tools : attr_props example
Wandalen May 27, 2024
fcd8379
derive_tools : utilizing attr props
Wandalen May 27, 2024
59ee6f6
macro_tools : attr_props refactoring
Wandalen May 27, 2024
27ff29e
fix
SRetip May 28, 2024
8e5e5bf
add import
SRetip May 28, 2024
e465730
macro_tools : attr_props refactoring and examples
Wandalen May 28, 2024
d40ba40
macro_tools : attr_props refactoring and examples
Wandalen May 28, 2024
607263f
macro_tools : attr_props refactoring and examples
Wandalen May 28, 2024
b02d13e
Merge pull request #1357 from SRetip/command_fix
Wandalen May 28, 2024
74fd9d4
macro_tools : evolve props
Wandalen May 28, 2024
56df95f
macro_tools : evolve props
Wandalen May 28, 2024
1e6a96b
derive_tools : from : item-level config
Wandalen May 28, 2024
e6ab345
import fix
SRetip May 28, 2024
28011e3
derive_tools : from : item-level config
Wandalen May 28, 2024
c0d0133
derive_tools : from : hint working
Wandalen May 28, 2024
22f9eac
test fix
SRetip May 28, 2024
11f3243
macro_tools : property singletone
Wandalen May 28, 2024
cf6247c
macro_tools : property singletone
Wandalen May 28, 2024
274d2ff
derive_tools : property hint -
Wandalen May 28, 2024
b831eab
former : property hint -
Wandalen May 28, 2024
989e9fd
former : property hint -
Wandalen May 28, 2024
7aaa2a7
former : property hint -
Wandalen May 28, 2024
0b9968c
former : property hint -
Wandalen May 28, 2024
b095bb3
macro_tools : cleaning
Wandalen May 28, 2024
2765144
former : shorter property custom
Wandalen May 28, 2024
31cdcc0
former : shorter property custom
Wandalen May 28, 2024
25629e9
former : cleaning
Wandalen May 28, 2024
6ac36ec
former : cleaning
Wandalen May 29, 2024
cfbedf0
macro_tools : better documentation
Wandalen May 29, 2024
a8b2223
macroses : use AttributePropertyOptionalSingletone instead of Attribu…
Wandalen May 29, 2024
40a707e
macroses : per-field assign to make possible usage of several attribu…
Wandalen May 29, 2024
7069a4d
macroses : per-field assign to make possible usage of several attribu…
Wandalen May 29, 2024
5b6407e
macroses : per-field assign to make possible usage of several attribu…
Wandalen May 29, 2024
41b59fd
macroses : per-field assign to make possible usage of several attribu…
Wandalen May 29, 2024
203cc04
Merge branch 'alpha' of https://github.com/Wandalen/wTools into readm…
SRetip May 29, 2024
4c81ef6
feat: modules headers report & typed error
SRetip May 29, 2024
f0d3981
Merge pull request #1355 from Barsik-sus/wca-willbe-former
Wandalen May 29, 2024
4f18593
Merge pull request #1325 from SRetip/alpha
Wandalen May 29, 2024
36c2943
feat: main header report & error
SRetip May 29, 2024
9e06830
wip
SRetip May 29, 2024
139b5c8
ready
SRetip May 29, 2024
2ac0758
derive_tools, former: implementing ComponentAssign for all attributes
Wandalen May 30, 2024
c6420cc
derive_tools, former: implementing ComponentAssign for all attributes
Wandalen May 30, 2024
cfb95d9
fix
SRetip May 30, 2024
c4a00f0
derive_tools, former: implementing ComponentAssign for all attributes
Wandalen May 30, 2024
2759f92
derive_tools, former: implementing ComponentAssign for all attributes
Wandalen May 30, 2024
023e5f7
derive_tools, former: implementing ComponentAssign for all attributes
Wandalen May 30, 2024
1a227a3
derive_tools, former: implementing ComponentAssign for all attributes
Wandalen May 30, 2024
ff77b3f
derive_tools, former: implementing ComponentAssign for all attributes
Wandalen May 30, 2024
dfd6932
macro_tools : defalt markers for props
Wandalen May 30, 2024
d6cc5de
all derives : avoid checking is attribute known
Wandalen May 30, 2024
97a358c
derive_tools: refactor from
Wandalen May 30, 2024
af609be
derive_tools: tasks
Wandalen May 30, 2024
1dfd7e5
merge
Wandalen May 30, 2024
ff6866d
former_types-v2.2.0
Wandalen May 30, 2024
31530b2
macro_tools-v0.27.0
Wandalen May 30, 2024
964b934
derive_tools_meta-v0.22.0
Wandalen May 30, 2024
44f4488
clone_dyn_meta-v0.17.0
Wandalen May 30, 2024
f765b74
variadic_from-v0.18.0
Wandalen May 30, 2024
5f402e8
clone_dyn-v0.17.0
Wandalen May 30, 2024
11629dd
derive_tools-v0.23.0
Wandalen May 30, 2024
681751e
mod_interface_meta-v0.20.0
Wandalen May 30, 2024
154217f
error_tools-v0.14.0
Wandalen May 30, 2024
9a66dfb
mod_interface-v0.20.0
Wandalen May 30, 2024
7bb81fd
proper_path_tools-v0.6.0
Wandalen May 30, 2024
15dc0dc
former_meta-v2.1.0
Wandalen May 30, 2024
fcc5a89
former-v2.1.0
Wandalen May 30, 2024
f19f521
strs_tools-v0.13.0
Wandalen May 30, 2024
0db6868
wca-v0.17.0
Wandalen May 30, 2024
ce19a16
process_tools-v0.5.0
Wandalen May 30, 2024
22838e5
crates_tools-v0.10.0
Wandalen May 30, 2024
60c4a80
willbe-v0.11.0
Wandalen May 30, 2024
07d22ed
Merge pull request #1356 from Wandalen/program_tools_v1
Wandalen May 30, 2024
a8d50be
derive_tools : derive new wip
Wandalen May 30, 2024
236c090
derive_tools : derive new wip
Wandalen May 30, 2024
6cfc535
derive_tools : derive new wip
Wandalen May 30, 2024
f2f2c13
derive_tools : reorganize tests
Wandalen May 31, 2024
5105ac4
after review fix
SRetip May 31, 2024
6f00d47
Merge pull request #1146 from SRetip/readme_headers_generate
Wandalen May 31, 2024
d2b43cf
fix
SRetip May 31, 2024
9a7ac6a
Merge pull request #1360 from SRetip/alpha
Wandalen May 31, 2024
1d60153
Merge pull request #1358 from Wandalen/program_tools_v1
Wandalen May 31, 2024
444badf
reveision of tasks
Wandalen May 31, 2024
afda2d1
Merge branch 'alpha' into program_tools_v1
Wandalen May 31, 2024
26d1936
clearify tasks
Wandalen May 31, 2024
a36cbfa
Merge pull request #1361 from Wandalen/program_tools_v1
Wandalen May 31, 2024
49aab29
Merge pull request #1342 from Wandalen/alpha
Wandalen May 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
133 changes: 133 additions & 0 deletions .github/workflows/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# healthtable

[healthtable](../../Readme.md) - in addition to information about modules, their stability contains the results of CI/CD of the master and alpha branches.

# for_pr_rust_push.yml

actions:
- install stable rust
- install nightly rust
- install willbe
- run tests with all features, but only on stable toolchain and in debug optimization mode

Groups creates by strategy:
```yml
for_pr_rust_push_${{ inputs.module_name }}_${{ github.ref }}_
${{ contains( inputs.commit_message, '+test' ) || startsWith( inputs.commit_message, 'merge' ) }}
```

inputs.module_name - name of module
github.ref - name of branch
{{ contains( inputs.commit_message, '+test' ) || startsWith( inputs.commit_message, 'merge' ) }} - returns true if commit message contains directive `+test` or starts with `merge` word.

runs if commit message contains directive `+test` or starts with `merge` word.

# standard_rust_push.yml

actions:
- install stable rust
- install nightly rust
- install cargo-udeps
- install cargo-audit
- checks crate with cargo-udeps
- checks crete with cargo-audit
- install willbe
- run tests with all features, with stable and nightly toolchain, with release and debug optimization mode

Groups creates by strategy:
```yml
standard_rust_push_${{ inputs.module_name }}_${{ github.ref }}_
${{ contains( inputs.commit_message, '+test' ) || startsWith( inputs.commit_message, 'merge' ) }}
```

inputs.module_name - name of module
github.ref - name of branch
{{ contains( inputs.commit_message, '+test' ) || startsWith( inputs.commit_message, 'merge' ) }} - returns true if commit message contains directive `+test` or starts with `merge` word.

runs if commit message contains directive `+test` or starts with `merge` word.

# standard_rust_pool_request.yml

actions:
- call [for_pr_rust_push.yml](#for_pr_rust_pushyml) for all project.

# standard_rust_schedule.yml

actions:
- call [standard_rust_push.yml](#standard_rust_pushyml) for `{module_name}` every day at 1:00 a.m.

Affects badges in the header of the workspace readme.md file, looks like this [![wTools](https://img.shields.io/github/actions/workflow/status/Wandalen/wTools/standard_rust_scheduled.yml?label=master&logo=github&branch=master)](https://github.com/Wandalen/wTools/actions/workflows/standard_rust_scheduled.yml).

# module_{module_name}_push.yml

actions:
- call [standard_rust_push.yml](#standard_rust_pushyml) for `{module_name}`.

Affects badges that are opposite to modules in the **[healthtable](#healthtable)**, as well as badges in the header of the crate readme.md files.


# appropriate_branch.yml

This workflow ensures that pull requests are opened against the correct target branches based on a predefined branching strategy (alpha -> beta -> master). It checks whether the destination branch specified in the pull request matches the expected branch according to the branching strategy. If it doesn't match, the pull request is converted to draft mode, and if it still doesn't match, the workflow fails.

# appropriate_branch_beta.yml

This workflow delegates the actual validation and actions to another workflow file (appropriate_branch.yml) located in the Wandalen/wTools repository under .github/workflows directory on the "alpha" branch. It ensures that pull requests targeting the "beta" branch are appropriately validated and processed according to the rules defined in the external workflow file.

# appropriate_branch_master.yml

Similar to the previous workflow, this one also delegates the validation and processing of pull requests to an external workflow file (appropriate_branch.yml) located in the Wandalen/wTools repository under the .github/workflows directory on the "alpha" branch.
By specifying the "beta" branch as the source branch and dynamically referencing the base branch of the pull request as the destination branch, this workflow ensures that pull requests targeting the "main" or "master" branches are appropriately validated and processed according to the rules defined in the external workflow file.
This setup promotes consistency and reusability of workflow logic across different branches within the repository, helping to maintain a standardized process for handling pull requests.

# auto_merge_to_beta.yml

This workflow automates the process of merging changes from the "alpha" branch into the "beta" branch after ensuring that related workflow runs for modules have completed successfully.
It waits for the completion of workflow runs related to modules and checks their statuses before proceeding with the merge process.
If all checks pass, it merges the changes into the "beta" branch using the provided GitHub token.

# auto_pr.yml

This workflow automates the process of opening pull requests between specified source and destination branches.
Upon triggering, it checks out the repository and opens a pull request from the source branch (src_branch) to the destination branch (dst_branch).
The pull request title is automatically generated to indicate that it's an automated pull request forwarding from one branch to another.
If a pull request already exists between the specified branches and PASS_IF_EXISTS is set to true, the action will pass without creating a new pull request.

# auto_pr_to_alpha.yml

This workflow automates the process of opening pull requests from any branch except for those explicitly excluded to the "alpha" branch.
It leverages branch filtering to include all branches and exclude specific ones such as master, main, alpha, beta, and any branches containing test or experiment in their names.
When triggered by a push event on a qualifying branch, it calls the external workflow (auto_pr.yml) to handle the process of opening a pull request to the "alpha" branch, passing the source and destination branch information along with the GitHub bot token for authentication.

# auto_pr_to_beta.yml

This workflow automates the process of opening pull requests from the "alpha" branch to the "beta" branch.
When triggered by a push event on the "alpha" branch, it calls the external workflow (auto_pr.yml) to handle the process of opening a pull request to the "beta" branch, passing the source and destination branch information along with the GitHub bot token for authentication.

# auto_pr_to_master.yml

This workflow automates the process of opening pull requests from the "beta" branch to the "master" branch.
When triggered by a push event on the "beta" branch, it calls the external workflow (auto_pr.yml) to handle the process of opening a pull request to the "master" branch, passing the source and destination branch information along with the GitHub bot token for authentication.

# runs_clean.yml

This workflow allows manual triggering to clean up workflow runs in the repository.
It first deletes any runs that have been cancelled or skipped, ensuring that they do not clutter the workflow history.
Then, it deletes runs older than a specified number of days, while ensuring that at least 20 runs are preserved regardless of their age.
By regularly cleaning up older workflow runs, this workflow helps maintain a clean and organized workflow history in the repository.

# standard_rust_status.yml

This workflow serves as a status monitor for the completion of specific workflows: "auto_merge_to_beta" and "rust_scheduled."
Upon completion of any of these workflows, it checks the status of their runs.
It employs a matrix strategy to iterate over different workflow files to check their statuses.
If the conclusion of any checked workflow run is "failure," "cancelled," or "skipped," the workflow exits with an error, indicating a problem.

# status_checks_rules_update.yml

When a pull request is opened targeting branches "alpha" or "beta":
- If the base branch is "beta":
- It compares the contents of the workflow directories between branches "alpha" and "beta".
- If they are not equal, it triggers an update of branch protection rules for the "beta" branch.
- If the base branch is "alpha":
- It directly triggers an update of branch protection rules for the "alpha" branch with specific required status checks for different contexts.
72 changes: 72 additions & 0 deletions .github/workflows/for_pr_rust_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@

name : for_pr_push

on :

workflow_call :
inputs :
manifest_path :
required : true
type : string
module_name :
required : true
type : string
commit_message :
required : true
type : string
with_smoke :
required : false
type : string
default : true

concurrency :

group : for_pr_rust_push_${{ inputs.module_name }}_${{ github.ref }}_
${{ contains( inputs.commit_message, '+test' ) || startsWith( inputs.commit_message, 'merge' ) }}
cancel-in-progress : true

env :

RUST_BACKTRACE : 1
CARGO_TERM_COLOR : always
WITH_SMOKE : ${{ inputs.with_smoke }}

jobs :

will_test :
if : contains( inputs.commit_message, '+test' ) || contains( inputs.commit_message, 'merge' )
concurrency :
group : for_pr_rust_push_${{ inputs.module_name }}_${{ github.ref }}_${{ matrix.os }}
cancel-in-progress : true
strategy :
fail-fast : false
matrix :
os : [ ubuntu-latest, windows-latest, macos-latest ]
runs-on : ${{ matrix.os }}
steps :
- name : Install latest stable toolchain
uses : Wandalen/wretry.action/main@master
with :
action : actions-rs/toolchain@v1
with : |
toolchain : stable
override : true
attempt_limit : 3
attempt_delay: 10000
- name: Install latest nightly toolchain
uses: Wandalen/wretry.action/main@master
with:
action: actions-rs/toolchain@v1
with: |
toolchain : nightly
override : true
attempt_limit: 3
attempt_delay: 10000
- uses: actions/checkout@v3
- name: Install will
run: cargo install --git https://github.com/Wandalen/wTools --branch alpha willbe
- name: Set MANIFEST_ROOT_PATH
id: rootpath
run: echo "::set-output name=path::$(dirname ${{ inputs.manifest_path }})"
- name: Run tests with each feature
run: will .test ${{ steps.rootpath.outputs.path }}/ dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:0 with_none_features:1 with_release:0 with_stable:1
23 changes: 23 additions & 0 deletions .github/workflows/module_program_tools_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name : program_tools

on :
push :
branches :
- 'alpha'
- 'beta'
- 'master'


env :
CARGO_TERM_COLOR : always

jobs :

# program_tools

test :
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
with :
manifest_path : 'module/core/program_tools/Cargo.toml'
module_name : 'program_tools'
commit_message : ${{ github.event.head_commit.message }}
23 changes: 23 additions & 0 deletions .github/workflows/module_rustql_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name : rustql

on :
push :
branches :
- 'alpha'
- 'beta'
- 'master'


env :
CARGO_TERM_COLOR : always

jobs :

# rustql

test :
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
with :
manifest_path : 'module/blank/rustql/Cargo.toml'
module_name : 'rustql'
commit_message : ${{ github.event.head_commit.message }}
3 changes: 2 additions & 1 deletion .github/workflows/standard_rust_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs :
tested :
needs: check
if : ${{ needs.check.outputs.should_run == 'true' }}
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
uses : Wandalen/wTools/.github/workflows/for_pr_rust_push.yml@alpha
with :
manifest_path : './Cargo.toml'
module_name : ${{ github.event.base.ref }}_${{ github.event.number }}
commit_message : "+test_${{ github.event.base.ref }}_${{ github.event.number }}"
with_smoke : false
3 changes: 1 addition & 2 deletions .github/workflows/standard_rust_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ on :
concurrency :

group : standard_rust_push_${{ inputs.module_name }}_${{ github.ref }}_
${{ contains( inputs.commit_message, '+test' ) || startsWith( inputs.commit_message, 'Merge' ) || contains( inputs.commit_message, inputs.module_name ) }}_
${{ !contains( inputs.commit_message, '!only_js' )}}
${{ contains( inputs.commit_message, '+test' ) || startsWith( inputs.commit_message, 'merge' ) }}
cancel-in-progress : true

env :
Expand Down
Loading
Loading