Skip to content

Commit b0ab677

Browse files
authored
Merge pull request #393 from stackhpc/add-automation-label
Add automated label
2 parents 641faee + 11ac9f4 commit b0ab677

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ansible/roles/source-repo-sync/tasks/add_community_files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@
7272
- name: Ensure required labels exists on remote # noqa no-handler
7373
ansible.builtin.include_tasks: "tasks/add_label.yml"
7474
with_items:
75-
- stackhpc-ci
75+
- automated
7676
- community-files
7777
loop_control:
7878
loop_var: label_name
7979
when: community_copy.changed | bool
8080

8181
- name: Open pull request # noqa command-instead-of-shell no-handler
8282
ansible.builtin.shell:
83-
cmd: 'gh pr create -f -B {{ community_manifest.prefix | default("") }}{{ community_manifest.branch }} -l stackhpc-ci --label community-files'
83+
cmd: 'gh pr create -f -B {{ community_manifest.prefix | default("") }}{{ community_manifest.branch }} -l automated --label community-files'
8484
chdir: "{{ staging_path }}/{{ repository_manifest.name }}"
8585
when: community_copy.changed | bool
8686

terraform/github/repositories.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ resource "github_repository" "repositories" {
3333
}
3434
}
3535

36-
resource "github_issue_label" "stackhpc_ci_label" {
36+
resource "github_issue_label" "automated_label" {
3737
for_each = toset(flatten(values(var.repositories)))
3838
repository = each.value
39-
name = "stackhpc-ci"
40-
color = "E6E2C0"
41-
description = "Automated action performed by stackhpc-ci"
39+
name = "automated"
40+
color = "C4F2A5"
41+
description = "Automated action performed by GitHub Actions"
4242
}
4343

4444
resource "github_issue_label" "workflows_label" {

0 commit comments

Comments
 (0)