You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add job rerun action
* Update .github/actions/rerun-job-action/action.yml
Typo
Co-authored-by: Danny McCormick <[email protected]>
* header and a comment explaining the logic for going into re-run flow
* deduplicate API calls
* added some explanation within the action file
* Update .github/actions/rerun-job-action/action.yml
Typo
Co-authored-by: Danny McCormick <[email protected]>
---------
Co-authored-by: vdjerek <Vlado Djerek>
Co-authored-by: Danny McCormick <[email protected]>
# Licensed to the Apache Software Foundation (ASF) under one
2
+
# or more contributor license agreements. See the NOTICE file
3
+
# distributed with this work for additional information
4
+
# regarding copyright ownership. The ASF licenses this file
5
+
# to you under the Apache License, Version 2.0 (the
6
+
# "License"); you may not use this file except in compliance
7
+
# with the License. You may obtain a copy of the License at
8
+
#
9
+
# http://www.apache.org/licenses/LICENSE-2.0
10
+
#
11
+
# Unless required by applicable law or agreed to in writing,
12
+
# software distributed under the License is distributed on an
13
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+
# KIND, either express or implied. See the License for the
15
+
# specific language governing permissions and limitations
16
+
# under the License.
17
+
18
+
19
+
#Action used to trigger a failed check re-run within a PR using a comment. Add this action to your workflow with an if condition
20
+
#to check if the comment is present
21
+
#If the check is failed this will trigger it again. If its not failed a new instance of workflow will run which will not show in the status box or checks tab in the PR and can be found in the actions tab https://github.com/apache/beam/actions
22
+
23
+
name: "Rerun Job Action"
24
+
description: Re-runs a job that is attached to the PR as Check Run
25
+
inputs:
26
+
pull_request_url:
27
+
description: "The URL of the PR"
28
+
required: true
29
+
github_repository:
30
+
description: "The GitHub repository"
31
+
required: true
32
+
github_token:
33
+
description: "The GitHub token"
34
+
required: true
35
+
github_job:
36
+
description: "The GitHub job"
37
+
required: true
38
+
github_current_run_id:
39
+
description: "The GitHub current run id. Not the same that is fetched in this action"
0 commit comments