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

I'm suddenly having an issue that's referencing this line #19

Closed
renata-slalom opened this issue May 1, 2020 · 1 comment
Closed

I'm suddenly having an issue that's referencing this line #19

renata-slalom opened this issue May 1, 2020 · 1 comment

Comments

@renata-slalom
Copy link

renata-slalom commented May 1, 2020

It was working and now I get this message:

2020-05-01T00:40:17.1026894Z with:
2020-05-01T00:40:17.1026988Z   tf_docs_working_dir: .
2020-05-01T00:40:17.1027092Z   tf_docs_output_file: README.md
2020-05-01T00:40:17.1027199Z   tf_docs_output_method: replace
2020-05-01T00:40:17.1027316Z   tf_docs_git_push: true
2020-05-01T00:40:17.1027402Z   tf_docs_template: true
2020-05-01T00:40:17.1027503Z   tf_docs_atlantis_file: disabled
2020-05-01T00:40:17.1027604Z   tf_docs_find_dir: disabled
2020-05-01T00:40:17.1027707Z   tf_docs_content_type: table
2020-05-01T00:40:17.1027794Z   tf_docs_indention: 2
2020-05-01T00:40:17.1027899Z   tf_docs_git_commit_message: terraform-docs: automated action
2020-05-01T00:40:17.1028009Z env:
2020-05-01T00:40:17.1028106Z   tf_version: 0.12.21
2020-05-01T00:40:17.1028190Z   AWS_REGION: us-west-2
2020-05-01T00:40:17.1028293Z ##[endgroup]
2020-05-01T00:40:17.1066322Z ##[command]/usr/bin/docker run --name xxxxxx--label c27d31 --workdir /github/workspace --rm -e tf_version -e AWS_REGION -e INPUT_TF_DOCS_WORKING_DIR -e INPUT_TF_DOCS_OUTPUT_FILE -e INPUT_TF_DOCS_OUTPUT_METHOD -e INPUT_TF_DOCS_GIT_PUSH -e INPUT_TF_DOCS_TEMPLATE -e INPUT_TF_DOCS_ATLANTIS_FILE -e INPUT_TF_DOCS_FIND_DIR -e INPUT_TF_DOCS_CONTENT_TYPE -e INPUT_TF_DOCS_INDENTION -e INPUT_TF_DOCS_ARGS -e INPUT_TF_DOCS_GIT_COMMIT_MESSAGE -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/xxxxxxxx":"/github/workspace" xxxxx 
2020-05-01T00:40:19.5190089Z From https://github.com/xxxxxxx
2020-05-01T00:40:19.5190474Z  * [new tag]         1.0.0                       -> 1.0.0
2020-05-01T00:40:19.5204104Z  * [new tag]         1.0.0-rc.1                  -> 1.0.0-rc.1
2020-05-01T00:40:19.5209344Z  * [new tag]         1.0.0-rc.2                  -> 1.0.0-rc.2
2020-05-01T00:40:19.5217382Z  * [new tag]         1.0.1                       -> 1.0.1
2020-05-01T00:40:19.5221094Z  * [new tag]         1.0.1-rc.1                  -> 1.0.1-rc.1
2020-05-01T00:40:19.5228056Z  * [new tag]         1.1.0                       -> 1.1.0
2020-05-01T00:40:19.5228433Z  * [new tag]         1.1.0-rc.1                  -> 1.1.0-rc.1
2020-05-01T00:40:19.5228681Z  * [new tag]         1.1.1                       -> 1.1.1
2020-05-01T00:40:19.5228939Z  * [new tag]         1.1.1-rc.1                  -> 1.1.1-rc.1
2020-05-01T00:40:19.5268410Z  * [new tag]         1.1.2                       -> 1.1.2
2020-05-01T00:40:19.5269311Z  * [new tag]         1.1.2-rc.1                  -> 1.1.2-rc.1
2020-05-01T00:40:19.5270215Z  * [new tag]         1.1.3                       -> 1.1.3
2020-05-01T00:40:19.5270519Z  * [new tag]         1.1.4                       -> 1.1.4
2020-05-01T00:40:19.5270804Z  * [new tag]         1.1.5                       -> 1.1.5
2020-05-01T00:40:19.5271109Z  * [new tag]         rc-1586886888-1.1.5-80c8e8e -> rc-1586886888-1.1.5-80c8e8e
2020-05-01T00:40:19.5271395Z  * [new tag]         v.0.0.6                     -> v.0.0.6
2020-05-01T00:40:19.5271669Z  * [new tag]         v0.0.1                      -> v0.0.1
2020-05-01T00:40:19.5271943Z  * [new tag]         v0.0.10                     -> v0.0.10
2020-05-01T00:40:19.5272199Z  * [new tag]         v0.0.2                      -> v0.0.2
2020-05-01T00:40:19.5272468Z  * [new tag]         v0.0.3                      -> v0.0.3
2020-05-01T00:40:19.5272937Z  * [new tag]         v0.0.4                      -> v0.0.4
2020-05-01T00:40:19.5273231Z  * [new tag]         v0.0.5                      -> v0.0.5
2020-05-01T00:40:19.5273486Z  * [new tag]         v0.0.6                      -> v0.0.6
2020-05-01T00:40:19.5273750Z  * [new tag]         v0.0.7                      -> v0.0.7
2020-05-01T00:40:19.5274022Z  * [new tag]         v0.0.8                      -> v0.0.8
2020-05-01T00:40:19.5274293Z  * [new tag]         v0.0.9                      -> v0.0.9
2020-05-01T00:40:20.2058244Z 2020/05/01 00:40:19 Argument or block definition required: An argument or block definition is required here.
2020-05-01T00:40:20.2059114Z ::debug file=common.sh,line=30,col=1 WORKING_DIR=.
2020-05-01T00:40:20.2154673Z Post job cleanup.
2020-05-01T00:40:20.3194396Z [command]/usr/bin/git version
2020-05-01T00:40:20.3253123Z git version 2.26.0

My code looks like:

    name: 'Terraform docs'
    runs-on: ubuntu-18.04
    steps:
    - uses: actions/checkout@v2
      with:
        ref: ${{ github.event.pull_request.head.ref }}

    - name: Render terraform docs inside the README.md and push changes back to PR branch
      uses: Dirrk/terraform-docs@v1.0.7
      with:
        tf_docs_working_dir: .
        tf_docs_output_file: README.md
        tf_docs_output_method: inject
        tf_docs_git_push: 'true'
        tf_docs_template: 'true'

Issue also happens when it runs on ubuntu-latest

My README.md is there and contains the <!--- BEGIN_TF_DOCS ---><!--- END_TF_DOCS --->

Any ideas?

update_doc () {

@renata-slalom
Copy link
Author

renata-slalom commented May 1, 2020

Looks like one of the devs changed a terraform file and didn't tell me. Closing the issue since it doesn't pertain here.

@Dirrk Dirrk linked a pull request May 28, 2020 that will close this issue
1 task
@Dirrk Dirrk removed a link to a pull request May 28, 2020
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant