Skip to content

Commit ddab528

Browse files
committed
Add automated_workflow environment. This works even if it doesn't exist.
1 parent 237901b commit ddab528

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

perl-module-macos.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# brian's standard GitHub Actions macOS config for Perl 5 modules
2-
# version 20240124.003
2+
# version 20240130.001
33
# https://github.com/briandfoy/github_workflows
44
# https://github.com/features/actions
55
# This file is licensed under the Artistic License 2.0
6+
#
7+
# This uses the AUTOMATED_TESTING environment that you can set up
8+
# in your repo settings. Or not. It still works if it isn't defined.
9+
# In that environment, add whatever environment variables or secrets
10+
# that you want.
611
name: macos
712

813
on:
@@ -36,6 +41,7 @@ on:
3641

3742
jobs:
3843
perl:
44+
environment: automated_testing
3945
runs-on: macOS-latest
4046
steps:
4147
- uses: actions/checkout@v3

perl-module-ubuntu.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# brian's standard GitHub Actions Ubuntu config for Perl 5 modules
2-
# version 20240124.003
2+
# version 20240130.001
33
# https://github.com/briandfoy/github_workflows
44
# https://github.com/features/actions
55
# This file is licensed under the Artistic License 2.0
6+
#
7+
# This uses the AUTOMATED_TESTING environment that you can set up
8+
# in your repo settings. Or not. It still works if it isn't defined.
9+
# In that environment, add whatever environment variables or secrets
10+
# that you want.
611
name: ubuntu
712

813
on:
@@ -36,6 +41,7 @@ on:
3641

3742
jobs:
3843
perl:
44+
environment: automated_testing
3945
runs-on: ${{ matrix.os }}
4046
strategy:
4147
matrix:

perl-module-windows.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# brian's standard GitHub Actions Windows config for Perl 5 modules
2-
# version 20240124.003
2+
# version 20240130.001
33
# https://github.com/briandfoy/github_workflows
44
# https://github.com/features/actions
55
# This file is licensed under the Artistic License 2.0
6+
#
7+
# This uses the AUTOMATED_TESTING environment that you can set up
8+
# in your repo settings. Or not. It still works if it isn't defined.
9+
# In that environment, add whatever environment variables or secrets
10+
# that you want.
611
name: windows
712

813
on:
@@ -36,6 +41,7 @@ on:
3641

3742
jobs:
3843
perl:
44+
environment: automated_testing
3945
runs-on: ${{ matrix.os }}
4046
# store any secrets in an environment named "testing"
4147
strategy:

0 commit comments

Comments
 (0)